Sha256: e3ca873044b814d8163d544f3b773289aef84e406260a4e75acd6aa42d579009
Contents?: true
Size: 398 Bytes
Versions: 6
Compression:
Stored size: 398 Bytes
Contents
Then 'what' do out = "\n\n\n" + "#{@request.method} #{@request.env["SERVER_NAME"]}#{@request.env["REQUEST_URI"]}\n" + "params: #{@request.parameters.inspect}\n\n" + response.body + "\n\n\n" puts out.gsub("\n", "\n ") end Then 'debug' do debugger true end Then /^show me the page$/ do save_and_open_page end Then /^(?:|I )output the page$/ do puts response.body end
Version data entries
6 entries across 6 versions & 1 rubygems