mirror of
https://github.com/TracksApp/tracks.git
synced 2026-04-18 01:59:02 +02:00
6 lines
219 B
Ruby
6 lines
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
|