Skip to content

Commit

Permalink
Fix factory_bot linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
coalest committed Dec 23, 2024
1 parent d659a35 commit 3649fff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/factories/tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
FactoryBot.define do
factory :tag do
name { "Holidays" }
initialize_with { Tag.find_or_create_by(name:)}
end
end

0 comments on commit 3649fff

Please sign in to comment.