diff options
author | Anshul Sharma <optimisticanshul@gmail.com> | 2015-08-25 09:31:12 +0530 |
---|---|---|
committer | Anshul Sharma <optimisticanshul@gmail.com> | 2015-08-25 09:31:12 +0530 |
commit | 7b1c78363032bd83b81c54f49ee258d82c3d4998 (patch) | |
tree | feb226cb7476baccc4b001f7f6ff803c8be7ab3f /actionpack/test/dispatch | |
parent | aaacc67fe2e5ba326d4e2eaf18d95c24b364ec70 (diff) | |
download | rails-7b1c78363032bd83b81c54f49ee258d82c3d4998.tar.gz rails-7b1c78363032bd83b81c54f49ee258d82c3d4998.tar.bz2 rails-7b1c78363032bd83b81c54f49ee258d82c3d4998.zip |
Remove unused block arguments
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/callbacks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/callbacks_test.rb b/actionpack/test/dispatch/callbacks_test.rb index f767b07e75..5ba76d9ab9 100644 --- a/actionpack/test/dispatch/callbacks_test.rb +++ b/actionpack/test/dispatch/callbacks_test.rb @@ -28,7 +28,7 @@ class DispatcherTest < ActiveSupport::TestCase assert_equal 4, Foo.a assert_equal 4, Foo.b - dispatch do |env| + dispatch do raise "error" end rescue nil assert_equal 6, Foo.a |