do not know how it worked before
This commit is contained in:
parent
9dc9e92c16
commit
8d0082419c
2 changed files with 2 additions and 1 deletions
|
@ -39,5 +39,6 @@ class FranceConnectInformation < ApplicationRecord
|
|||
end
|
||||
|
||||
update_attribute('user_id', user.id)
|
||||
touch # needed to update updated_at column
|
||||
end
|
||||
end
|
||||
|
|
|
@ -83,7 +83,7 @@ feature 'France Connect Particulier Connexion' do
|
|||
end
|
||||
|
||||
scenario 'the updated_at date is well updated' do
|
||||
expect(france_connect_information.updated_at).not_to eq(france_connect_information.created_at)
|
||||
expect(france_connect_information.reload.updated_at).not_to eq(france_connect_information.created_at)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue