Skip to content

Fix order-dependent spec failures with reCAPTCHA

Stan Hu requested to merge sh-fix-captcha-state-pollution-spec into master

spec/controllers/registrations_controller_spec.rb polluted the test environment by changing the Recaptcha configuration. We now stub the controller's method instead of doing that.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67133

Edited by Stan Hu

Merge request reports