lib/generators/project/features/steps/result_steps.rb in auxesis-cucumber-nagios-0.3.1 vs lib/generators/project/features/steps/result_steps.rb in auxesis-cucumber-nagios-0.3.4

- old
+ new

@@ -9,11 +9,11 @@ Then /^I should see an? (\w+) message$/ do |message_type| response.should have_xpath("//*[@class='#{message_type}']") end Then /^the (.*) ?request should succeed/ do |_| - response.should be_successful + success_code?.should be_true end Then /^the (.*) ?request should fail/ do |_| - response.should_not be_successful + success_code?.should be_false end