Sha256: 4ee52abcf652589d68adb8744eb431a30cd31ddf2e7fa25d9e1e9105b3e6c45f

Contents?: true

Size: 390 Bytes

Versions: 12

Compression:

Stored size: 390 Bytes

Contents

Then /^I should see "(.*)"$/ do |text|
  response.body.to_s.should =~ /#{text}/m
end

Then /^I should not see "(.*)"$/ do |text|
  response.body.to_s.should_not =~ /#{text}/m
end

Then /^I should see an? (\w+) message$/ do |message_type|
  response.should have_xpath("//*[@class='#{message_type}']")
end

Then /^the (.*) ?request should fail/ do |_|
  response.should_not be_successful
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
auxesis-cucumber-nagios-0.2.1 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.2.2 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.2.5 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.2.6 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.2.8 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.2 lib/generators/project/features/steps/result_steps.rb
david-merb_cucumber-0.4.1 lib/generators/cucumber/templates/features/steps/result_steps.rb
david-merb_cucumber-0.5.0.1 lib/generators/cucumber/templates/features/steps/result_steps.rb
david-merb_cucumber-0.5.0 lib/generators/cucumber/templates/features/steps/result_steps.rb
david-merb_cucumber-0.5.1.1 lib/generators/cucumber/templates/features/steps/result_steps.rb
david-merb_cucumber-0.5.1.2 lib/generators/cucumber/templates/features/steps/result_steps.rb
david-merb_cucumber-0.5.1 lib/generators/cucumber/templates/features/steps/result_steps.rb