Merge pull request #2620 from cesario/3-1-0

Fix CI and rename 1 misleading test case.
This commit is contained in:
Santiago Pastorino
2011-08-21 15:55:15 -07:00
parent d7bef0a716
commit d81fe8d74e
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ module Rails
end
def comment_if(value)
options[value] ? '#' : ''
options[value] ? '# ' : ''
end
def rails_gemfile_entry

View File

@@ -174,7 +174,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
assert_file "test/performance/browsing_test.rb"
end
def test_generator_if_skip_active_record_is_given
def test_generator_if_skip_sprockets_is_given
run_generator [destination_root, "--skip-sprockets"]
assert_file "config/application.rb" do |content|
assert_match(/#\s+require\s+["']sprockets\/railtie["']/, content)