Skip to content

Commit

Permalink
remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Mar 5, 2011
1 parent 598f7ec commit 5b492c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/matchers/routing_matchers.rb
Expand Up @@ -11,7 +11,7 @@ module RoutingMatchers
if path.is_a?(String)
controller, action = path.split("#")
options ||= {}
(options || {}).merge!(:controller => controller, :action => action)
options.merge!(:controller => controller, :action => action)
else
options = path
end
Expand Down

0 comments on commit 5b492c7

Please sign in to comment.