Sha256: 34cbda7f1d75c5fd317c6a50aa9df7d8fb6b80885c4135e38d44256513f5d997

Contents?: true

Size: 470 Bytes

Versions: 27

Compression:

Stored size: 470 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 succeed/ do |_|
  success_code?.should be_true
end

Then /^the (.*) ?request should fail/ do |_|
  success_code?.should be_false
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
auxesis-cucumber-nagios-0.3.4 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.3.5 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.3.6 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.3.7 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.3.8 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.4.0 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.4.1 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.4.3 lib/generators/project/features/steps/result_steps.rb
auxesis-cucumber-nagios-0.4.4 lib/generators/project/features/steps/result_steps.rb
cucumber-nagios-0.7.6 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.5 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.4 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.3 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.2 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.1 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.7.0 lib/cucumber/nagios/steps/result_steps.rb
cucumber-nagios-0.6.8 lib/generators/project/features/steps/result_steps.rb
cucumber-nagios-0.6.7 lib/generators/project/features/steps/result_steps.rb
cucumber-nagios-0.6.6 lib/generators/project/features/steps/result_steps.rb
cucumber-nagios-0.6.5 lib/generators/project/features/steps/result_steps.rb