File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616def run_bench ( app , visiting_routes )
1717 visiting_routes . each do |path |
1818 # The app mutates `env`, so we need to create one every time.
19- env = Rack ::MockRequest ::env_for ( "http ://localhost#{ path } " )
19+ env = Rack ::MockRequest ::env_for ( "https ://localhost#{ path } " )
2020 response_array = app . call ( env )
2121 unless response_array . first == 200
2222 p response_array
Original file line number Diff line number Diff line change 1414def run_bench ( app , visiting_routes )
1515 visiting_routes . each do |path |
1616 # The app mutates `env`, so we need to create one every time.
17- env = Rack ::MockRequest ::env_for ( "http ://localhost#{ path } " )
17+ env = Rack ::MockRequest ::env_for ( "https ://localhost#{ path } " )
1818 response_array = app . call ( env )
1919 unless response_array . first == 200
2020 p response_array
Original file line number Diff line number Diff line change 1515def run_bench ( app , visiting_routes )
1616 visiting_routes . each do |path |
1717 # The app mutates `env`, so we need to create one every time.
18- env = Rack ::MockRequest ::env_for ( "http ://localhost#{ path } " )
18+ env = Rack ::MockRequest ::env_for ( "https ://localhost#{ path } " )
1919 response_array = app . call ( env )
2020 unless response_array . first == 200
2121 p response_array
You can’t perform that action at this time.
0 commit comments