migrate logging_in

This commit is contained in:
Reinier Balt 2012-01-27 12:09:34 +01:00
parent b874b49336
commit 75f2afc2e1
4 changed files with 16 additions and 24 deletions

View file

@ -1,6 +1,3 @@
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