summaryrefslogtreecommitdiff
path: root/spec/views/devise/shared/_signin_box.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/devise/shared/_signin_box.html.haml_spec.rb')
-rw-r--r--spec/views/devise/shared/_signin_box.html.haml_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/views/devise/shared/_signin_box.html.haml_spec.rb b/spec/views/devise/shared/_signin_box.html.haml_spec.rb
index 0563984a03c..f8867477603 100644
--- a/spec/views/devise/shared/_signin_box.html.haml_spec.rb
+++ b/spec/views/devise/shared/_signin_box.html.haml_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe 'devise/shared/_signin_box' do
@@ -8,6 +10,7 @@ describe 'devise/shared/_signin_box' do
allow(view).to receive(:current_application_settings).and_return(Gitlab::CurrentSettings.current_application_settings)
allow(view).to receive(:captcha_enabled?).and_return(false)
allow(view).to receive(:captcha_on_login_required?).and_return(false)
+ allow(view).to receive(:experiment_enabled?).and_return(false)
end
it 'is shown when Crowd is enabled' do