Skip to content

Commit

Permalink
Merge pull request #709 from chrisyour/master
Browse files Browse the repository at this point in the history
Add patch to routing helpers
  • Loading branch information
alindeman committed Mar 12, 2013
2 parents 4731144 + 0039c84 commit 6a3654a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/rails/matchers/routing_matchers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def be_routable
end

module RouteHelpers
%w(get post put delete options head).each do |method|
%w(get post put patch delete options head).each do |method|
define_method method do |path|
{ method.to_sym => path }
end
Expand Down

0 comments on commit 6a3654a

Please sign in to comment.