diff options
author | kennyj <kennyj@gmail.com> | 2012-05-19 05:13:28 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-05-19 05:13:28 +0900 |
commit | 130b0d215d491d328ebf0fa40e2e356065d19a78 (patch) | |
tree | 6514581c2938bbed7a1df1b779008cdfadf8005c /actionpack/test | |
parent | a6dbc3fe7a504805572e634d39e37fd63ba7fd45 (diff) | |
download | rails-130b0d215d491d328ebf0fa40e2e356065d19a78.tar.gz rails-130b0d215d491d328ebf0fa40e2e356065d19a78.tar.bz2 rails-130b0d215d491d328ebf0fa40e2e356065d19a78.zip |
Fix build: can't convert Regexp to String
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/benchmark_helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/benchmark_helper_test.rb b/actionpack/test/template/benchmark_helper_test.rb index 1bdda22959..8c198d2562 100644 --- a/actionpack/test/template/benchmark_helper_test.rb +++ b/actionpack/test/template/benchmark_helper_test.rb @@ -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 |