diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-04-15 08:03:45 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-04-15 08:03:45 +0900 |
commit | f1a354466ddf2851370823873d93c50c219db027 (patch) | |
tree | 09ec06e5124877526b96b696d608f4dc42912bee /railties/test | |
parent | 8180c3961063c5786305a94a7d204ab4bc72c381 (diff) | |
download | rails-f1a354466ddf2851370823873d93c50c219db027.tar.gz rails-f1a354466ddf2851370823873d93c50c219db027.tar.bz2 rails-f1a354466ddf2851370823873d93c50c219db027.zip |
Fix broken `AppGeneratorTest#test_spring_no_fork`
The mock is called three times because the `spring_install?` call has
been added in 65344f254cde87950c7f176cb7aa09c002a6f882.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 69cec60603..7ea8676460 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -848,7 +848,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_spring_no_fork jruby_skip "spring doesn't run on JRuby" - assert_called_with(Process, :respond_to?, [[:fork], [:fork]], returns: false) do + assert_called_with(Process, :respond_to?, [[:fork], [:fork], [:fork]], returns: false) do run_generator assert_no_gem "spring" |