diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-12-05 18:19:17 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-12-05 18:19:17 +0100 |
commit | 647d4fd78947b3e21c5216757b7ed801a24b7414 (patch) | |
tree | 5dc4a7a714cd0bf9f9e4ca40e921aef9bb13af9d | |
parent | 53fc2f89f6b06384ac4bb9c52ff2f74f8161a413 (diff) | |
download | rails-647d4fd78947b3e21c5216757b7ed801a24b7414.tar.gz rails-647d4fd78947b3e21c5216757b7ed801a24b7414.tar.bz2 rails-647d4fd78947b3e21c5216757b7ed801a24b7414.zip |
Make sure that spring is loaded in development only
-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 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 |