Skip to content
Browse files

Update routing_matchers.rb

Adding patch to the route helpers for Rails 4 support.
  • Loading branch information...
1 parent 4ecdfd0 commit 0039c84698a7a45995e6eff7ff5b5cce000b86da @chrisyour chrisyour committed Mar 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/rails/matchers/routing_matchers.rb
View
2 lib/rspec/rails/matchers/routing_matchers.rb
@@ -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

0 comments on commit 0039c84

Please sign in to comment.
Something went wrong with that request. Please try again.