mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 00:16:05 +01:00
Adjust Reaction usecase specs to also use IDs
This commit is contained in:
parent
cc7fa787e8
commit
b2185987ac
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ describe UseCase::Reaction::Create do
|
|||
end
|
||||
end
|
||||
|
||||
subject { UseCase::Reaction::Create.call(source_user: user, target:) }
|
||||
subject { UseCase::Reaction::Create.call(source_user_id: user.id, target:) }
|
||||
|
||||
let(:user) { FactoryBot.create(:user) }
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ describe UseCase::Reaction::Destroy do
|
|||
end
|
||||
end
|
||||
|
||||
subject { UseCase::Reaction::Destroy.call(source_user: user, target:) }
|
||||
subject { UseCase::Reaction::Destroy.call(source_user_id: user.id, target:) }
|
||||
|
||||
let(:user) { FactoryBot.create(:user) }
|
||||
|
||||
|
|
Loading…
Reference in a new issue