diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-28 23:13:05 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-05-28 23:13:05 +0200 |
commit | c127491b716e46dfbf586e3044a67d0512c08b79 (patch) | |
tree | 0f40f0714da8cc6f068a09cf0d090587dcd5b084 /railties/test | |
parent | e45f388eb439448f4f87eabcef1bc01a14faa4a5 (diff) | |
download | rails-c127491b716e46dfbf586e3044a67d0512c08b79.tar.gz rails-c127491b716e46dfbf586e3044a67d0512c08b79.tar.bz2 rails-c127491b716e46dfbf586e3044a67d0512c08b79.zip |
Fix more assertion counts.
Follow up to e45f388.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/scaffold_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/scaffold_generator_test.rb b/railties/test/generators/scaffold_generator_test.rb index 5e45120704..146be5a85a 100644 --- a/railties/test/generators/scaffold_generator_test.rb +++ b/railties/test/generators/scaffold_generator_test.rb @@ -488,7 +488,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase `bin/rails g scaffold User name:string age:integer; bin/rails db:migrate` end - assert_match(/8 runs, 13 assertions, 0 failures, 0 errors/, `bin/rails test 2>&1`) + assert_match(/8 runs, 10 assertions, 0 failures, 0 errors/, `bin/rails test 2>&1`) end end @@ -502,7 +502,7 @@ class ScaffoldGeneratorTest < Rails::Generators::TestCase `bin/rails g scaffold User name:string age:integer; bin/rails db:migrate` end - assert_match(/8 runs, 13 assertions, 0 failures, 0 errors/, `bin/rails test 2>&1`) + assert_match(/8 runs, 10 assertions, 0 failures, 0 errors/, `bin/rails test 2>&1`) end end |