Skip to content

Commit

Permalink
Update tests to match reality
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Jul 31, 2015
1 parent 886a066 commit ea0c82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec_rack_profiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
end

specify 'called multiple times via query params' do
req = Rack::MockRequest.env_for("/", :params => "profile=process_time&times=4")
req = Rack::MockRequest.env_for("/", :params => "profile=process_time&profiler_runs=4")
body = Rack::Profiler.new(app).call(req)[2].string
body.must_match(/Proc#call \[4 calls, 4 total\]/)
end
Expand Down

0 comments on commit ea0c82d

Please sign in to comment.