add mobile feature, thanks @vcuculo
This commit is contained in:
parent
b1f283c995
commit
d395a29efb
2 changed files with 14 additions and 0 deletions
11
features/mobile.feature
Normal file
11
features/mobile.feature
Normal file
|
|
@ -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"
|
||||
|
||||
3
features/step_definitions/mobile_steps.rb
Normal file
3
features/step_definitions/mobile_steps.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
When /^I visit the mobile aspects page$/ do
|
||||
visit('/aspects.mobile')
|
||||
end
|
||||
Loading…
Reference in a new issue