Skip to content
Browse files

test that skip active records does not load fixtures

[#4104 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
1 parent e7f911d commit 36862511e065d5ea02dae9d2dcb7f498af99cab1 @asanghi asanghi committed with spastorino Oct 9, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/test/generators/app_generator_test.rb
View
3 railties/test/generators/app_generator_test.rb
@@ -168,6 +168,9 @@ def test_config_another_database
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

0 comments on commit 3686251

Please sign in to comment.
Something went wrong with that request. Please try again.