From 165acf393fc16a89770829284ec3faa52844800f Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 17 May 2012 09:08:45 -0700 Subject: MiniTest deprecated #assert_block in favor of calling #assert with a block --- actionpack/lib/action_controller/test_case.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index 76d07891c9..98f70f2336 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -93,7 +93,7 @@ module ActionController 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 -- cgit v1.2.3