We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
save_and_open_page
1 parent cbf0046 commit 1e6938aCopy full SHA for 1e6938a
actionpack/test/controller/integration_test.rb
@@ -1377,10 +1377,10 @@ def remove_dumps
1377
get "/"
1378
with_root do
1379
Launchy.stub(:open, ->(path) { raise LoadError.new }) do
1380
- self.stub(:warn, ->(warning) { warning.include?("Please install the launchy gem to open the file automatically.") }) do
1381
- save_and_open_page
1382
- end
1383
+ self.stub(:warn, ->(warning) { warning.include?("Please install the launchy gem to open the file automatically.") }) do
+ save_and_open_page
+ end
1384
assert_equal File.read(dump_path), response.body
1385
end
1386
0 commit comments