Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MiniTest deprecated #assert_block in favor of calling #assert with a …

…block
  • Loading branch information...
commit 165acf393fc16a89770829284ec3faa52844800f 1 parent 1b604c7
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/test_case.rb
View
2  actionpack/lib/action_controller/test_case.rb
@@ -93,7 +93,7 @@ def assert_template(options = {}, message = nil)
rendered = @templates
msg = message || sprintf("expecting <%s> but rendering with <%s>",
options.inspect, rendered.keys)
- assert_block(msg) do
+ assert(msg) do
if options
rendered.any? { |t,num| t.match(options) }
else
Please sign in to comment.
Something went wrong with that request. Please try again.