FC ParticulierControllerSpec: simplify without an associate user
This commit is contained in:
parent
e1ac33f420
commit
b2f59e2b14
1 changed files with 1 additions and 5 deletions
|
@ -59,11 +59,7 @@ describe FranceConnect::ParticulierController, type: :controller do
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when france_connect_particulier_id does not have an associate user' do
|
context 'when france_connect_particulier_id does not have an associate user' do
|
||||||
before do
|
it { is_expected.to redirect_to(root_path) }
|
||||||
get :callback, params: {code: code}
|
|
||||||
end
|
|
||||||
|
|
||||||
it {expect(response).to redirect_to(root_path)}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue