models: require belong_to associations on trusted_device_token
This commit is contained in:
parent
d807700c7b
commit
71d9774d58
3 changed files with 8 additions and 3 deletions
5
spec/factories/trusted_device_token.rb
Normal file
5
spec/factories/trusted_device_token.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
FactoryBot.define do
|
||||
factory :trusted_device_token do
|
||||
association :instructeur
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue