mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
6 lines
No EOL
219 B
Ruby
6 lines
No EOL
219 B
Ruby
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 |