CopyThen /^I should get a response with status (\d+)$/ do |status| response.status.should include(status) end
Then /^I should get a response with status (\d+)$/ do |status| response.status.should include(status) end
CopyThen /^I should get a response with status (\d+)$/ do |status| page.status_code.should include(status.to_i) end
Then /^I should get a response with status (\d+)$/ do |status| page.status_code.should include(status.to_i) end