diff options
author | Aditya Sanghi <asanghi@me.com> | 2011-05-06 21:02:20 +0530 |
---|---|---|
committer | Aditya Sanghi <asanghi@me.com> | 2011-05-06 21:02:20 +0530 |
commit | a8cfceca55b36129f87a512c7852901e416a1ee9 (patch) | |
tree | 7744b55ab61c3db2e63adb09fbdb0ef2e9669cad /railties | |
parent | cdf1842caafb805e42c3354795e08e20cf2902f1 (diff) | |
download | rails-a8cfceca55b36129f87a512c7852901e416a1ee9.tar.gz rails-a8cfceca55b36129f87a512c7852901e416a1ee9.tar.bz2 rails-a8cfceca55b36129f87a512c7852901e416a1ee9.zip |
be consistent
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 4bcbf4a90c..8fb31a2429 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -161,9 +161,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_active_record_is_removed_from_frameworks_if_skip_active_record_is_given run_generator [destination_root, "--skip-active-record"] - assert_file "config/application.rb" do |file| - assert_match /#\s+require\s+["']active_record\/railtie["']/, file - end + assert_file "config/application.rb", /#\s+require\s+["']active_record\/railtie["']/ end def test_creation_of_a_test_directory |