From aa683ca5d57cf46c1713277b4638707197317c17 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 22 Jan 2022 23:12:54 +0100 Subject: [PATCH] Appease the dog overlords (fix lint errors) --- spec/lib/use_case/relationship/create_spec.rb | 12 ++++++------ spec/lib/use_case/relationship/destroy_spec.rb | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/spec/lib/use_case/relationship/create_spec.rb b/spec/lib/use_case/relationship/create_spec.rb index 095a60ab..1b707657 100644 --- a/spec/lib/use_case/relationship/create_spec.rb +++ b/spec/lib/use_case/relationship/create_spec.rb @@ -41,14 +41,14 @@ describe UseCase::Relationship::Create do let(:base_params) do { source_user: source_user, - target_user: target_user, - type: type + target_user: target_user, + type: type } end - let(:params) { base_params } - let(:source_user) { user1.screen_name } - let(:target_user) { user2.screen_name } - let(:type) { nil } + let(:params) { base_params } + let(:source_user) { user1.screen_name } + let(:target_user) { user2.screen_name } + let(:type) { nil } # test data: let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") } diff --git a/spec/lib/use_case/relationship/destroy_spec.rb b/spec/lib/use_case/relationship/destroy_spec.rb index 2cecbc05..25d20fb7 100644 --- a/spec/lib/use_case/relationship/destroy_spec.rb +++ b/spec/lib/use_case/relationship/destroy_spec.rb @@ -44,14 +44,14 @@ describe UseCase::Relationship::Destroy do let(:base_params) do { source_user: source_user, - target_user: target_user, - type: type + target_user: target_user, + type: type } end - let(:params) { base_params } - let(:source_user) { user1.screen_name } - let(:target_user) { user2.screen_name } - let(:type) { nil } + let(:params) { base_params } + let(:source_user) { user1.screen_name } + let(:target_user) { user2.screen_name } + let(:type) { nil } # test data: let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") }