File: i_make_a_request_with_headers.rb

package info (click to toggle)
ruby-rack-livereload 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: javascript: 974; ruby: 477; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
When /^I make a request to "([^"]*)" with the following headers:$/ do |uri, table|
  @request = Rack::MockRequest.new(@app)

  @response = @request.get(uri, table.rows_hash)
end