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