1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix build: can't convert Regexp to String

This commit is contained in:
kennyj 2012-05-19 05:13:28 +09:00
parent a6dbc3fe7a
commit 130b0d215d

View file

@ -19,6 +19,6 @@ class BenchmarkHelperTest < ActionView::TestCase
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