1
0
Fork 0
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:
yuuji.yaginuma 2017-07-25 08:19:41 +09:00
parent 9569a0cde8
commit 8a0f235fd3

View file

@ -262,7 +262,7 @@ module ApplicationTests
test "db:schema:load fails if schema.rb doesn't exist yet" do
Dir.chdir(app_path) do
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