mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix warning: ambiguous first argument
This fixes the following warning: ``` railties/test/application/rake/dbs_test.rb:265: warning: ambiguous first argument; put parentheses or a space even after `/' operator ```
This commit is contained in:
parent
9569a0cde8
commit
8a0f235fd3
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ module ApplicationTests
|
||||||
test "db:schema:load fails if schema.rb doesn't exist yet" do
|
test "db:schema:load fails if schema.rb doesn't exist yet" do
|
||||||
Dir.chdir(app_path) do
|
Dir.chdir(app_path) do
|
||||||
stderr_output = capture(:stderr) { `bin/rails db:schema:load` }
|
stderr_output = capture(:stderr) { `bin/rails db:schema:load` }
|
||||||
assert_match /Run `rails db:migrate` to create it/, stderr_output
|
assert_match(/Run `rails db:migrate` to create it/, stderr_output)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue