Remove weird switch_devise_profile_service

This commit is contained in:
simon lehericey 2019-08-08 17:44:33 +02:00
parent 754f10e4b2
commit e3fd1cc33a
5 changed files with 11 additions and 27 deletions

View file

@ -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)