Sha256: 68128f63e07d2f99637358aa0a14874b2ad8c90bfe08c3d3abe6b14fd1a3f61b
Contents?: true
Size: 466 Bytes
Versions: 32
Compression:
Stored size: 466 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_code.should < 400 end Then /^the (.*) ?request should fail/ do |_| response_code.should >= 400 end
Version data entries
32 entries across 32 versions & 1 rubygems