diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2017-07-24 20:55:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 20:55:56 -0400 |
commit | 7d133b23b6a366de3658c4e1c6af546e611de728 (patch) | |
tree | 9c637badba46dff8d67a8ee056982c9fceb973ce /railties/test | |
parent | 9569a0cde832fcd0aaa078ebb1067e6dd3e22d90 (diff) | |
parent | 8a0f235fd3bd3f3c813fa7034c6d741831e55c3e (diff) | |
download | rails-7d133b23b6a366de3658c4e1c6af546e611de728.tar.gz rails-7d133b23b6a366de3658c4e1c6af546e611de728.tar.bz2 rails-7d133b23b6a366de3658c4e1c6af546e611de728.zip |
Merge pull request #29924 from y-yagi/fix_ruby_warning
Fix `warning: ambiguous first argument`
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/application/rake/dbs_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/rake/dbs_test.rb b/railties/test/application/rake/dbs_test.rb index 9e612f1526..3216121de3 100644 --- a/railties/test/application/rake/dbs_test.rb +++ b/railties/test/application/rake/dbs_test.rb @@ -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 |