Add tests & factories for UserMute feature

This commit is contained in:
Gregory Igelmund 2023-12-13 13:09:39 -05:00
parent efc61f1315
commit d0ec5d1437
6 changed files with 158 additions and 0 deletions

View file

@ -14,5 +14,9 @@ FactoryBot.define do
trait :read do
message_read { true }
end
trait :muted do
muted { true }
end
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :user_mute do
owner :factory => :user
subject :factory => :user
end
end