Commit 5e1db068 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre Committed by Ash McKenzie

Disable invisible_captcha feature flag

parent bd0a23ef
require 'spec_helper'
describe RegistrationsController do
before do
stub_feature_flags(invisible_captcha: false)
end
describe '#create' do
context 'when the user opted-in' do
let(:user_params) { { user: attributes_for(:user, email_opted_in: '1') } }
......
......@@ -3,6 +3,10 @@ require 'spec_helper'
describe 'Signup on EE' do
let(:user_attrs) { attributes_for(:user) }
before do
stub_feature_flags(invisible_captcha: false)
end
context 'for Gitlab.com' do
before do
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