mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-02 11:00:16 +01:00
migrate login stories to cucumber features
This commit is contained in:
parent
7bdd365ff3
commit
6d1f034111
10 changed files with 166 additions and 122 deletions
6
features/step_definitions/page_navigation_steps.rb
Normal file
6
features/step_definitions/page_navigation_steps.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Then /^I should be redirected to (.+?)$/ do |page_name|
|
||||
request.headers['HTTP_REFERER'].should_not be_nil
|
||||
request.headers['HTTP_REFERER'].should_not == request.request_uri
|
||||
|
||||
Then "I should be on #{page_name}"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue