diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-19 09:17:07 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-19 09:17:11 -0300 |
commit | 573448f0114a9fe1c80cfb6b84ced842fa4ea63a (patch) | |
tree | aaccdfd928bf9ac446b4b28be59def9676ae009a /railties | |
parent | bd838c0e74b31767944435585ade3edeed7990de (diff) | |
download | rails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.tar.gz rails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.tar.bz2 rails-573448f0114a9fe1c80cfb6b84ced842fa4ea63a.zip |
Remove warning in namespaced generator test
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/namespaced_generators_test.rb | 2 |
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 |