From 8c736363114dd2df1005414bd3c72888a52fe455 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 27 Dec 2022 02:56:04 +0100 Subject: [PATCH] Appease the dog overlords --- spec/lib/use_case/question/create_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/lib/use_case/question/create_spec.rb b/spec/lib/use_case/question/create_spec.rb index ff9a87b0..28a97ffe 100644 --- a/spec/lib/use_case/question/create_spec.rb +++ b/spec/lib/use_case/question/create_spec.rb @@ -9,9 +9,9 @@ describe UseCase::Question::Create do UseCase::Question::Create.call( source_user_id: source_user&.id, target_user_id: target_user.id, - content: content, - anonymous: anonymous, - author_identifier: author_identifier + content:, + anonymous:, + author_identifier: ) end @@ -103,8 +103,8 @@ describe UseCase::Question::Create do context "user blocks this anonymized user" do before do target_user.anonymous_blocks.create!( - identifier: "r4nd0m", - question_id: FactoryBot.create(:question).id, + identifier: "r4nd0m", + question_id: FactoryBot.create(:question).id, target_user_id: source_user&.id ) end