Browse files

be consistent

  • Loading branch information...
1 parent cdf1842 commit a8cfceca55b36129f87a512c7852901e416a1ee9 Aditya Sanghi committed May 6, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 railties/test/generators/app_generator_test.rb
View
4 railties/test/generators/app_generator_test.rb
@@ -161,9 +161,7 @@ def test_generator_if_skip_active_record_is_given
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

0 comments on commit a8cfcec

Please sign in to comment.