Skip to content

Commit

Permalink
Merge pull request #2620 from cesario/3-1-0
Browse files Browse the repository at this point in the history
Fix CI and rename 1 misleading test case.
  • Loading branch information
spastorino committed Aug 21, 2011
1 parent d7bef0a commit d81fe8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/app_base.rb
Expand Up @@ -131,7 +131,7 @@ def include_all_railties?
end

def comment_if(value)
options[value] ? '#' : ''
options[value] ? '# ' : ''
end

def rails_gemfile_entry
Expand Down
2 changes: 1 addition & 1 deletion railties/test/generators/app_generator_test.rb
Expand Up @@ -174,7 +174,7 @@ def test_generator_if_skip_active_record_is_given
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)
Expand Down

0 comments on commit d81fe8d

Please sign in to comment.