aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/namespaced_generators_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-19 09:17:07 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-05-19 09:17:11 -0300
commit573448f0114a9fe1c80cfb6b84ced842fa4ea63a (patch)
treeaaccdfd928bf9ac446b4b28be59def9676ae009a /railties/test/generators/namespaced_generators_test.rb
parentbd838c0e74b31767944435585ade3edeed7990de (diff)
downloadrails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.tar.gz
rails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.tar.bz2
rails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.zip
Remove warning in namespaced generator test
Diffstat (limited to 'railties/test/generators/namespaced_generators_test.rb')
-rw-r--r--railties/test/generators/namespaced_generators_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/namespaced_generators_test.rb b/railties/test/generators/namespaced_generators_test.rb
index 00d4566604..c495258343 100644
--- a/railties/test/generators/namespaced_generators_test.rb
+++ b/railties/test/generators/namespaced_generators_test.rb
@@ -66,7 +66,7 @@ class NamespacedControllerGeneratorTest < NamespacedGeneratorTestCase
run_generator
assert_file "app/controllers/test_app/account_controller.rb" do |content|
content.split("\n").each do |line|
- assert_no_match /^\s+$/, line, "Don't indent blank lines"
+ assert_no_match(/^\s+$/, line, "Don't indent blank lines")
end
end
end