Permalink
Browse files

Fix build: can't convert Regexp to String

  • Loading branch information...
1 parent a6dbc3f commit 130b0d215d491d328ebf0fa40e2e356065d19a78 @kennyj committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/template/benchmark_helper_test.rb
@@ -19,6 +19,6 @@ def test_default_message
log = StringIO.new
self.stubs(:logger).returns(Logger.new(log))
benchmark {}
- assert_match(log.rewind && log.read, /Benchmarking \(\d+.\d+ms\)/)
+ assert_match(/Benchmarking \(\d+.\d+ms\)/, log.rewind && log.read)
end
end

0 comments on commit 130b0d2

Please sign in to comment.