Skip to content

Commit ea0c82d

Browse files
committed
Update tests to match reality
1 parent 886a066 commit ea0c82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec_rack_profiler.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
end
1616

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

0 commit comments

Comments
 (0)