diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-31 06:09:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-31 06:09:26 +0300 |
commit | 69d62eae981e12419891a050f5d6753941c9e42f (patch) | |
tree | f6137b0fd312c7a9234a27b3ba0470884811a92b /spec/views/devise | |
parent | 22ed58450d4fd51446f0bad9c754ba5022550adf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/devise')
-rw-r--r-- | spec/views/devise/sessions/new.html.haml_spec.rb | 1 | ||||
-rw-r--r-- | spec/views/devise/shared/_signin_box.html.haml_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/views/devise/sessions/new.html.haml_spec.rb b/spec/views/devise/sessions/new.html.haml_spec.rb index e8232a2c067..1cbef9538be 100644 --- a/spec/views/devise/sessions/new.html.haml_spec.rb +++ b/spec/views/devise/sessions/new.html.haml_spec.rb @@ -9,6 +9,7 @@ RSpec.describe 'devise/sessions/new' do before do stub_devise disable_captcha + allow(view).to receive(:arkose_labs_enabled?).and_return(false) allow(Gitlab).to receive(:com?).and_return(true) end 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 8b1af1866dc..8488a786bdd 100644 --- a/spec/views/devise/shared/_signin_box.html.haml_spec.rb +++ b/spec/views/devise/shared/_signin_box.html.haml_spec.rb @@ -11,6 +11,7 @@ RSpec.describe 'devise/shared/_signin_box' do 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) + allow(view).to receive(:arkose_labs_enabled?).and_return(false) end it 'is shown when Crowd is enabled' do |