Sha256: 2b098a53eb10f3b4f3f3be5cbb422333585a18e637eda9cb7b888a3da8799fb9
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
Then /^show me the response$/ do puts page.body end Then /^I should see:$/ do |text| page.body.should =~ /#{Regexp::escape(text)}/ end # Basically the same as 'I should see' but used for matchers # against jax/application.js, which is huge. Then /^the response should contain:$/ do |text| (!!page.body.to_s[text]).should be_true end
Version data entries
6 entries across 6 versions & 1 rubygems