FC ParticulierControllerSpec: one liner expectation
This commit is contained in:
parent
4008d8e44d
commit
ab02f796b3
1 changed files with 1 additions and 3 deletions
|
@ -44,9 +44,7 @@ describe FranceConnect::ParticulierController, type: :controller do
|
|||
|
||||
subject { get :callback, params: {code: code} }
|
||||
|
||||
it 'does not create a new france_connect_information in database' do
|
||||
expect { subject }.not_to change { FranceConnectInformation.count }
|
||||
end
|
||||
it { expect { subject }.not_to change { FranceConnectInformation.count } }
|
||||
|
||||
context 'when france_connect_particulier_id have an associate user' do
|
||||
before do
|
||||
|
|
Loading…
Reference in a new issue