diff --git a/features/mobile.feature b/features/mobile.feature new file mode 100644 index 0000000000000000000000000000000000000000..4c5c7bf97c2a0e280b31d66f704943bb7a305ff3 --- /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 0000000000000000000000000000000000000000..8c356913b7db0e84acde64d6934538c0629a498c --- /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