Skip to content
This repository
Browse code

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

Fix CI and rename 1 misleading test case.
  • Loading branch information...
commit 9d1fc0863be7718316b0edd1b9dbb3466140f670 2 parents 61fa600 + 2173e04
Santiago Pastorino authored August 21, 2011
2  railties/lib/rails/generators/app_base.rb
@@ -131,7 +131,7 @@ def include_all_railties?
131 131
       end
132 132
 
133 133
       def comment_if(value)
134  
-        options[value] ? '#' : ''
  134
+        options[value] ? '# ' : ''
135 135
       end
136 136
 
137 137
       def rails_gemfile_entry
2  railties/test/generators/app_generator_test.rb
@@ -174,7 +174,7 @@ def test_generator_if_skip_active_record_is_given
174 174
     assert_file "test/performance/browsing_test.rb"
175 175
   end
176 176
 
177  
-  def test_generator_if_skip_active_record_is_given
  177
+  def test_generator_if_skip_sprockets_is_given
178 178
     run_generator [destination_root, "--skip-sprockets"]
179 179
     assert_file "config/application.rb" do |content|
180 180
       assert_match(/#\s+require\s+["']sprockets\/railtie["']/, content)

0 notes on commit 9d1fc08

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