diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-25 20:40:40 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-08-03 20:50:38 +0300 |
commit | 602fe111912bac119e752b0dfa3b4b3cd81585ff (patch) | |
tree | 7f39c59bb7ca285482bc9c57450394910dc761c3 /spec/views/devise | |
parent | e8c6f119cd7cf519db3ad1622786aad3156324d4 (diff) |
Remove provider path, replace with dynamic path.
Diffstat (limited to 'spec/views/devise')
-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 |