added 260907 version of worker toolkit

This commit is contained in:
2026-09-08 20:30:51 -04:00
parent cbd3f0f8ca
commit 97aca37663
1283 changed files with 142951 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
require "rails_helper"
RSpec.describe Google::RecaptchaVerifier, :vcr do
subject { Google::RecaptchaVerifier.exec(recaptcha_response) }
context "given a non-expired ReCaptcha response" do
let(:recaptcha_response) { "non-expired-recaptcha-response-dummy-string" }
it "returns true" do
is_expected.to be true
end
end
context "given an expired ReCaptcha response" do
let(:recaptcha_response) { "expired-recaptcha-response-dummy-string" }
it "returns false" do
is_expected.to be false
end
end
end