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