diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-25 11:40:40 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-08-03 11:50:38 -0600 |
commit | 602fe111912bac119e752b0dfa3b4b3cd81585ff (patch) | |
tree | 7f39c59bb7ca285482bc9c57450394910dc761c3 /spec/views | |
parent | e8c6f119cd7cf519db3ad1622786aad3156324d4 (diff) | |
download | gitlab-ce-602fe111912bac119e752b0dfa3b4b3cd81585ff.tar.gz |
Remove provider path, replace with dynamic path.devise-deprecations
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/devise/shared/_signin_box.html.haml_spec.rb | 2 |
1 files changed, 1 insertions, 1 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 05a76ee4bdb..ee362e6fcb3 100644 --- a/spec/views/devise/shared/_signin_box.html.haml_spec.rb +++ b/spec/views/devise/shared/_signin_box.html.haml_spec.rb @@ -31,7 +31,7 @@ describe 'devise/shared/_signin_box' do def enable_crowd allow(view).to receive(:form_based_providers).and_return([:crowd]) allow(view).to receive(:crowd_enabled?).and_return(true) - allow(view).to receive(:user_omniauth_authorize_path).with('crowd'). + allow(view).to receive(:omniauth_authorize_path).with(:user, :crowd). and_return('/crowd') end end |