Skip to content

Commit 89687bf

Browse files
committed
Make the linter happy v2
1 parent ab12625 commit 89687bf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/unit/entitlements/backend/github_team/service_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -585,13 +585,13 @@
585585
it "raises when user is not found" do
586586
expect(subject).to receive(:validate_team_id_and_slug!).with(1001, "russian-blues").and_return(true)
587587
expect(subject).to receive(:org_members).and_return(Set.new(%w[blackmanx]))
588-
588+
589589
add_membership_response = {
590590
"url" => "https://github.fake/api/v3/teams/1001/memberships/blackmanx",
591591
"role" => "member",
592592
"state" => "active"
593593
}
594-
594+
595595
stub_request(:put, "https://github.fake/api/v3/teams/1001/memberships/blackmanx")
596596
.to_return(
597597
status: 404,
@@ -622,13 +622,13 @@
622622
it "ignores 404s" do
623623
expect(subject).to receive(:validate_team_id_and_slug!).with(1001, "russian-blues").and_return(true)
624624
expect(subject).to receive(:org_members).and_return(Set.new(%w[blackmanx]))
625-
625+
626626
add_membership_response = {
627627
"url" => "https://github.fake/api/v3/teams/1001/memberships/blackmanx",
628628
"role" => "member",
629629
"state" => "active"
630630
}
631-
631+
632632
stub_request(:put, "https://github.fake/api/v3/teams/1001/memberships/blackmanx")
633633
.to_return(
634634
status: 404,

0 commit comments

Comments
 (0)