Appease the dog overlords (fix lint errors)
This commit is contained in:
parent
731ee4bf69
commit
aa683ca5d5
|
@ -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") }
|
||||||
|
|
|
@ -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") }
|
||||||
|
|
Loading…
Reference in New Issue