diff --git a/test/verify_test.rb b/test/verify_test.rb index 26e6aebb..37e8f9b7 100644 --- a/test/verify_test.rb +++ b/test/verify_test.rb @@ -199,7 +199,7 @@ def initialize assert_equal "reCAPTCHA verification failed, please try again.", @controller.flash[:recaptcha_error] end - it "does not verify via http call when response length exceeds G_RESPONSE_MAX_LIMIT" do + it "does not verify via http call when response length exceeds limit" do # this returns a 400 or 413 instead of a 200 response with error code # typical response length is less than 400 characters str = "a" * 4001 @@ -209,7 +209,7 @@ def initialize assert_equal "reCAPTCHA verification failed, please try again.", @controller.flash[:recaptcha_error] end - it "does not verify via http call when response length below G_RESPONSE_MIN_LIMIT" do + it "does not verify via http call when response length below limit" do # this returns a 400 or 413 instead of a 200 response with error code # typical response length is less than 100 characters str = "a" * 99