Skip to content

Commit

Permalink
MiniTest deprecated #assert_block in favor of calling #assert with a …
Browse files Browse the repository at this point in the history
…block
  • Loading branch information
jeremy committed May 17, 2012
1 parent 1b604c7 commit 165acf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/test_case.rb
Expand Up @@ -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
Expand Down

0 comments on commit 165acf3

Please sign in to comment.