Commit feeeaf2e authored by Ash McKenzie's avatar Ash McKenzie

Merge branch '13541-fix-broken-master' into 'master'

Disable invisible_captcha feature flag for signup specs

See merge request gitlab-org/gitlab-ee!15199
parents 33d21182 5e1db068
require 'spec_helper' require 'spec_helper'
describe RegistrationsController do describe RegistrationsController do
before do
stub_feature_flags(invisible_captcha: false)
end
describe '#create' do describe '#create' do
context 'when the user opted-in' do context 'when the user opted-in' do
let(:user_params) { { user: attributes_for(:user, email_opted_in: '1') } } let(:user_params) { { user: attributes_for(:user, email_opted_in: '1') } }
......
...@@ -3,6 +3,10 @@ require 'spec_helper' ...@@ -3,6 +3,10 @@ require 'spec_helper'
describe 'Signup on EE' do describe 'Signup on EE' do
let(:user_attrs) { attributes_for(:user) } let(:user_attrs) { attributes_for(:user) }
before do
stub_feature_flags(invisible_captcha: false)
end
context 'for Gitlab.com' do context 'for Gitlab.com' do
before do before do
expect(Gitlab).to receive(:com?).and_return(true).at_least(:once) expect(Gitlab).to receive(:com?).and_return(true).at_least(:once)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment