From b7a094536de6fdeb428aa79d21f1e2128169f45e Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 24 Feb 2012 16:25:41 -0800 Subject: uses PATCH for the forms of persisted records, and routes PATCH and PUT to the update action of resources --- railties/test/application/configuration_test.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'railties/test/application') diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index bf44a8b10b..56bd2b0b4b 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -268,7 +268,6 @@ module ApplicationTests RUBY add_to_config <<-RUBY - config.default_method_for_update = :patch routes.prepend do resources :posts end @@ -276,9 +275,6 @@ module ApplicationTests require "#{app_path}/config/environment" - assert_equal ActionView::Base.default_method_for_update, :patch - assert_equal ActionDispatch::Routing::Mapper.default_method_for_update, :patch - get "/posts/1" assert_match /patch/, last_response.body -- cgit v1.2.3