mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 04:04:36 +08:00
Fix failing tests [SCI-2687]
This commit is contained in:
parent
5488fc66fc
commit
afef8bc0b1
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ FactoryBot.define do
|
|||
factory :repository_row do
|
||||
name 'Custom row'
|
||||
created_by { User.first || association(:user) }
|
||||
repository { Repository.first || create(:repository) }
|
||||
last_modified_by { User.first || association(:user) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue