Sha256: 982b74fa7335b853d9aed7ca59718c12b13765d04e9acee2f8a13190c701e248
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 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 |_| response.should be_successful end Then /^the (.*) ?request should fail/ do |_| response.should_not be_successful end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
auxesis-cucumber-nagios-0.3.1 | lib/generators/project/features/steps/result_steps.rb |