Remove weird switch_devise_profile_service
This commit is contained in:
parent
754f10e4b2
commit
e3fd1cc33a
5 changed files with 11 additions and 27 deletions
|
@ -2,6 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe 'layouts/_new_header.html.haml', type: :view do
|
||||
before do
|
||||
allow(view).to receive(:multiple_devise_profile_connect?).and_return(false)
|
||||
if user
|
||||
sign_in user
|
||||
allow(controller).to receive(:nav_bar_profile).and_return(profile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue