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:
parent
a6dbc3fe7a
commit
130b0d215d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue