aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-18 00:09:52 -0800
committerJosé Valim <jose.valim@gmail.com>2011-12-18 00:09:52 -0800
commit1214e16640cb193747f3181f1f6a795140a0c902 (patch)
tree98aaf7007284ed42931cc5782bdf79da2ed91dc9
parent5da792711b72ef64d82283d265776c21f2254672 (diff)
parentff502d96019a84f25b292380ec6af1e464f17eba (diff)
downloadrails-1214e16640cb193747f3181f1f6a795140a0c902.tar.gz
rails-1214e16640cb193747f3181f1f6a795140a0c902.tar.bz2
rails-1214e16640cb193747f3181f1f6a795140a0c902.zip
Merge pull request #4018 from arunagw/warning_removed_
Warning removed in test
-rw-r--r--railties/test/generators/app_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index f92ea5209f..c456347e5c 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -128,7 +128,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
absolute = File.expand_path("Gemfile", destination_root)
File.open(absolute, 'r') do |f|
f.each_line do |line|
- assert_no_match /^[ \t]+$/, line
+ assert_no_match %r{/^[ \t]+$/}, line
end
end
end