FC ParticulierControllerSpec: use controller to store_location
This commit is contained in:
parent
ab116895b7
commit
28bf45e536
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ describe FranceConnect::ParticulierController, type: :controller do
|
|||
end
|
||||
|
||||
it 'redirect to stored location' do
|
||||
subject.store_location_for(:user, stored_location)
|
||||
controller.store_location_for(:user, stored_location)
|
||||
|
||||
get :callback, params: {code: code}
|
||||
expect(response).to redirect_to(stored_location)
|
||||
|
|
Loading…
Add table
Reference in a new issue