diff options
-rw-r--r-- | railties/test/application/configuration_test.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index 56bd2b0b4b..c9310aff87 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -281,8 +281,14 @@ module ApplicationTests patch "/posts/1" assert_match /update/, last_response.body + patch "/posts/1" + assert_equal 200, last_response.status + + put "/posts/1" + assert_match /update/, last_response.body + put "/posts/1" - assert_equal 404, last_response.status + assert_equal 200, last_response.status end test "request forgery token param can be changed" do |