diff options
author | Paco Guzman <fjguzman@aspgems.com> | 2010-06-20 18:59:49 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-22 17:37:18 +0200 |
commit | ec37452f6839d13181a90cf0d4944dc8f97fa1d9 (patch) | |
tree | db853061360d46d26947738c132b44ac1675ac64 /actionpack | |
parent | 6c4bab306ae1ee47b7fe5933867d321b68c7699a (diff) | |
download | rails-ec37452f6839d13181a90cf0d4944dc8f97fa1d9.tar.gz rails-ec37452f6839d13181a90cf0d4944dc8f97fa1d9.tar.bz2 rails-ec37452f6839d13181a90cf0d4944dc8f97fa1d9.zip |
Remove unused variable on assert_recognizes [#4912 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/routing.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/routing.rb b/actionpack/lib/action_dispatch/testing/assertions/routing.rb index 1499c03bdf..9338fa9e70 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/routing.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/routing.rb @@ -53,7 +53,6 @@ module ActionDispatch extras.each_key { |key| expected_options.delete key } unless extras.nil? expected_options.stringify_keys! - routing_diff = expected_options.diff(request.path_parameters) msg = build_message(message, "The recognized options <?> did not match <?>, difference: <?>", request.path_parameters, expected_options, expected_options.diff(request.path_parameters)) assert_block(msg) { request.path_parameters == expected_options } |