aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-01 11:49:08 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-01 11:49:08 -0300
commit664a13e6fb8281107da0da75e7cd91bba1425f76 (patch)
tree731e2c9e9176d7dd54667de9168b7b9d9b9d6890 /railties/test
parentd150f59f114dc2d362b9d8f96df88ca4fea09dc4 (diff)
downloadrails-664a13e6fb8281107da0da75e7cd91bba1425f76.tar.gz
rails-664a13e6fb8281107da0da75e7cd91bba1425f76.tar.bz2
rails-664a13e6fb8281107da0da75e7cd91bba1425f76.zip
Mock fork twice
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/app_generator_test.rb2
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 a86f190bb2..20b2cd3cca 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -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|