mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mock fork twice
This commit is contained in:
parent
d150f59f11
commit
664a13e6fb
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,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], returns: false) do
|
||||
assert_called_with(Process, :respond_to?, [[:fork], [:fork]], returns: false) do
|
||||
run_generator
|
||||
|
||||
assert_file "Gemfile" do |content|
|
||||
|
|
Loading…
Reference in a new issue