aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-05 12:05:17 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-05 12:05:17 -0800
commit3eb4f5428edba607b583b59602ffebf08b8ea04f (patch)
tree8300d1999583bfd97b1db5e8957512a77a2d8a75
parent871914c239689111101453ff7114deb79e70215a (diff)
parent647d4fd78947b3e21c5216757b7ed801a24b7414 (diff)
downloadrails-3eb4f5428edba607b583b59602ffebf08b8ea04f.tar.gz
rails-3eb4f5428edba607b583b59602ffebf08b8ea04f.tar.bz2
rails-3eb4f5428edba607b583b59602ffebf08b8ea04f.zip
Merge pull request #13199 from arunagw/spring-test-only-development
Make sure that spring is loaded in development only
-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 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