do not know how it worked before

This commit is contained in:
simon lehericey 2021-04-26 16:26:09 +02:00
parent 9dc9e92c16
commit 8d0082419c
2 changed files with 2 additions and 1 deletions

View file

@ -39,5 +39,6 @@ class FranceConnectInformation < ApplicationRecord
end
update_attribute('user_id', user.id)
touch # needed to update updated_at column
end
end

View file

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