diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-09 13:11:22 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-09 13:11:26 -0200 |
commit | e7f911d5ca58e83b94f58d5f44352794b27b2a10 (patch) | |
tree | 42bccb12fbc58ef2ae7c2a5404de54c33182fc5c | |
parent | e695c40e11135e54e40aef97718f88d20a0967c2 (diff) | |
download | rails-e7f911d5ca58e83b94f58d5f44352794b27b2a10.tar.gz rails-e7f911d5ca58e83b94f58d5f44352794b27b2a10.tar.bz2 rails-e7f911d5ca58e83b94f58d5f44352794b27b2a10.zip |
Test if test/performance/browsing_test.rb exists when --skip-activerecord is used
[#4104]
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 3653b067c8..d2126f3433 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -168,6 +168,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_config_database_is_not_added_if_skip_active_record_is_given run_generator [destination_root, "--skip-active-record"] assert_no_file "config/database.yml" + assert_file "test/performance/browsing_test.rb" end def test_active_record_is_removed_from_frameworks_if_skip_active_record_is_given |