Sha256: 6bb1b59a4f21c3688f06c42ea6ca36b8fcc220a074557339aee226538165b10d

Contents?: true

Size: 392 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
jsmestad-merb_cucumber-0.5.1.3 lib/generators/cucumber/templates/features/steps/result_steps.rb