test/test_helper.rb in inherited_resources-1.4.0 vs test/test_helper.rb in inherited_resources-1.4.1
- old
+ new
@@ -25,11 +25,11 @@
ActionController::Base.view_paths = File.join(File.dirname(__FILE__), 'views')
InheritedResources::Routes = ActionDispatch::Routing::RouteSet.new
InheritedResources::Routes.draw do
- match ':controller(/:action(/:id))'
- match ':controller(/:action)'
+ get ':controller(/:action(/:id))'
+ get ':controller(/:action)'
resources 'posts'
root :to => 'posts#index'
end
ActionController::Base.send :include, InheritedResources::Routes.url_helpers