aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/dispatcher_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/dispatcher_test.rb b/actionpack/test/controller/dispatcher_test.rb
index c64defeed4..aa26cae006 100644
--- a/actionpack/test/controller/dispatcher_test.rb
+++ b/actionpack/test/controller/dispatcher_test.rb
@@ -87,8 +87,8 @@ class DispatcherTest < Test::Unit::TestCase
def test_to_prepare_with_identifier_replaces
a = b = nil
- Dispatcher.to_prepare(:unique_id) { a = b = 1 }
- Dispatcher.to_prepare(:unique_id) { a = 2 }
+ Dispatcher.to_prepare(:unique_id) { |*args| a = b = 1 }
+ Dispatcher.to_prepare(:unique_id) { |*args| a = 2 }
@dispatcher.unprepared = true
@dispatcher.send! :prepare_application