Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refactored one more test

  • Loading branch information...
commit 9bc86c795823081bff2e5e0fb998ba011e779dee 1 parent 3992375
@bhb bhb authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 test/multiple_request_profiling_test.rb
View
5 test/multiple_request_profiling_test.rb
@@ -308,10 +308,7 @@ def profile_requests(profiled_app, requests, options = {})
should 'return profiling data when __data__ is called' do
profiled_app = Rack::PerftoolsProfiler.with_profiling_off(@app, :default_printer => 'gif')
- profiled_app.call(@start_env)
- profiled_app.call(@root_request_env)
- profiled_app.call(@stop_env)
- status, headers, body = profiled_app.call(@data_env)
+ status, headers, body = profile(profiled_app)
assert_equal 200, status
assert_equal "image/gif", headers['Content-Type']
end
Please sign in to comment.
Something went wrong with that request. Please try again.