Sha256: b359e6f40214558f84b2bbbf6d2dcfd380a3acef0b8ef3c9cc03b5152e03dc44
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
When /^(?:|I )go to "([^"]*)"$/ do |url| @response = get url end Then /^the response should contain "([^"]*)"$/ do |content| @response.body.should include(content) end Then /^the response should be "([^"]*)"$/ do |content| @response.body.gsub(/\n?/,"").should == content end When /^I post "([^"]*)" as "([^"]*)" to "([^"]*)"$/ do |key, value, url| @response = post(url, { key.to_sym => value }) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yarn-0.1.0 | features/step_definitions/web_steps.rb |
yarn-0.0.9 | features/step_definitions/web_steps.rb |
yarn-0.0.2 | features/step_definitions/web_steps.rb |