Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix test: can't convert Regexp to String #6387

Merged
merged 1 commit into from

2 participants

Toshinori Kajihara Rafael Mendonça França
Toshinori Kajihara
Collaborator

No description provided.

Rafael Mendonça França rafaelfranca merged commit 906009c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2012
  1. Toshinori Kajihara
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/template/benchmark_helper_test.rb
2  actionpack/test/template/benchmark_helper_test.rb
View
@@ -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
Something went wrong with that request. Please try again.