From 647d4fd78947b3e21c5216757b7ed801a24b7414 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Thu, 5 Dec 2013 18:19:17 +0100 Subject: [PATCH] Make sure that spring is loaded in development only --- railties/test/generators/app_generator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 7c2040470f..e584c01da9 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -439,7 +439,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_spring run_generator - assert_file "Gemfile", /gem 'spring'/ + assert_file "Gemfile", /gem 'spring', \s+group: :development/ end def test_spring_binstubs