Sha256: 6c20354047c6f27731ff9e9671faf039ec40ef6e6caaf07fd4976c8f04c88ac8
Contents?: true
Size: 392 Bytes
Versions: 17
Compression:
Stored size: 392 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
17 entries across 17 versions & 1 rubygems