Appease the dog overlords (fix lint errors)

This commit is contained in:
Karina Kwiatek 2022-01-22 23:12:54 +01:00 committed by Karina Kwiatek
parent 731ee4bf69
commit aa683ca5d5
2 changed files with 12 additions and 12 deletions

View File

@ -41,14 +41,14 @@ describe UseCase::Relationship::Create do
let(:base_params) do let(:base_params) do
{ {
source_user: source_user, source_user: source_user,
target_user: target_user, target_user: target_user,
type: type type: type
} }
end end
let(:params) { base_params } let(:params) { base_params }
let(:source_user) { user1.screen_name } let(:source_user) { user1.screen_name }
let(:target_user) { user2.screen_name } let(:target_user) { user2.screen_name }
let(:type) { nil } let(:type) { nil }
# test data: # test data:
let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") } let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") }

View File

@ -44,14 +44,14 @@ describe UseCase::Relationship::Destroy do
let(:base_params) do let(:base_params) do
{ {
source_user: source_user, source_user: source_user,
target_user: target_user, target_user: target_user,
type: type type: type
} }
end end
let(:params) { base_params } let(:params) { base_params }
let(:source_user) { user1.screen_name } let(:source_user) { user1.screen_name }
let(:target_user) { user2.screen_name } let(:target_user) { user2.screen_name }
let(:type) { nil } let(:type) { nil }
# test data: # test data:
let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") } let!(:user1) { FactoryBot.create(:user, screen_name: "timallen") }