From d395a29efb8600b95ed8f0c27d4af89fe4681b46 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg <maxwell@joindiaspora.com> Date: Thu, 1 Sep 2011 14:58:35 -0700 Subject: [PATCH] add mobile feature, thanks @vcuculo --- features/mobile.feature | 11 +++++++++++ features/step_definitions/mobile_steps.rb | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 features/mobile.feature create mode 100644 features/step_definitions/mobile_steps.rb diff --git a/features/mobile.feature b/features/mobile.feature new file mode 100644 index 0000000000..4c5c7bf97c --- /dev/null +++ b/features/mobile.feature @@ -0,0 +1,11 @@ +@javascript +Feature: Navigate mobile site + + In order to navigate Diaspora* + As a mobile user + I want to show mobile site of Diaspora* + + Scenario: Show mobile site + And I visit the mobile aspects page + Then I should see "sign in" + diff --git a/features/step_definitions/mobile_steps.rb b/features/step_definitions/mobile_steps.rb new file mode 100644 index 0000000000..8c356913b7 --- /dev/null +++ b/features/step_definitions/mobile_steps.rb @@ -0,0 +1,3 @@ +When /^I visit the mobile aspects page$/ do + visit('/aspects.mobile') +end -- GitLab