Skip to content

Commit

Permalink
Remove unused variable on assert_recognizes [#4912 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
Paco Guzman authored and josevalim committed Jun 22, 2010
1 parent 6c4bab3 commit ec37452
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -53,7 +53,6 @@ def assert_recognizes(expected_options, path, extras={}, message=nil)
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 }
Expand Down

0 comments on commit ec37452

Please sign in to comment.