Sha256: ccdf5cf98309d1e0114bcaa366adf5dbdf5c23552c862a03c7f81bc5b0776085
Contents?: true
Size: 450 Bytes
Versions: 4
Compression:
Stored size: 450 Bytes
Contents
Then /^I should see "(.*)"$/ do |text| webrat_session.response.body.to_s.should =~ /#{text}/m end Then /^I should not see "(.*)"$/ do |text| webrat_session.response.body.to_s.should_not =~ /#{text}/m end Then /^I should see an? (\w+) message$/ do |message_type| webrat_session.response.should have_xpath("//*[@class='#{message_type}']") end Then /^the (.*) ?request should fail/ do |_| webrat_session.response.should_not be_successful end
Version data entries
4 entries across 4 versions & 3 rubygems