From df88a92fc48dca99a0f7796d5896c27ffdd448d5 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 27 Oct 2022 20:39:26 +0900 Subject: [PATCH] tests: fix typo in application_controller_test.rb overriden -> overridden --- test/functional/application_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/application_controller_test.rb b/test/functional/application_controller_test.rb index 00971ff46..ee302d2dc 100644 --- a/test/functional/application_controller_test.rb +++ b/test/functional/application_controller_test.rb @@ -18,7 +18,7 @@ class ApplicationControllerTest < ActionDispatch::IntegrationTest assert_equal("Request body not allowed for GET request", response.parsed_body["message"]) end - should "return 200 OK for a POST request overriden to be a GET request" do + should "return 200 OK for a POST request overridden to be a GET request" do post root_path, headers: { "Content-Type": "application/x-www-form-urlencoded", "Accept": "application/json", "X-Http-Method-Override": "GET" }, env: { RAW_POST_DATA: "tags=touhou" } assert_response 200