diff options
author | Aditya Sanghi <asanghi@me.com> | 2010-10-09 13:31:32 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-09 13:31:37 -0200 |
commit | 36862511e065d5ea02dae9d2dcb7f498af99cab1 (patch) | |
tree | 991578119e9cacd66349b70f3cff4999cf7619b0 | |
parent | e7f911d5ca58e83b94f58d5f44352794b27b2a10 (diff) | |
download | rails-36862511e065d5ea02dae9d2dcb7f498af99cab1.tar.gz rails-36862511e065d5ea02dae9d2dcb7f498af99cab1.tar.bz2 rails-36862511e065d5ea02dae9d2dcb7f498af99cab1.zip |
test that skip active records does not load fixtures
[#4104 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index d2126f3433..d752d18285 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -168,6 +168,9 @@ 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/test_helper.rb" do |helper_content| + assert_no_match /fixtures :all/, helper_content + end assert_file "test/performance/browsing_test.rb" end |