Skip to content

Commit

Permalink
test that skip active records does not load fixtures
Browse files Browse the repository at this point in the history
[#4104 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information
Aditya Sanghi authored and spastorino committed Oct 9, 2010
1 parent e7f911d commit 3686251
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions railties/test/generators/app_generator_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit 3686251

Please sign in to comment.