Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmacgowan committed Dec 14, 2023
1 parent 7f4ede5 commit 6f5348f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/entitlements/backend/github_org/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
expect(logger).to receive(:debug).with("github.fake add_user_to_organization(user=bob, org=kittensinc, role=admin)")
expect(logger).to receive(:debug).with("Setting up GitHub API connection to https://github.fake/api/v3/")
expect(logger).to receive(:warn).with("User bob not found in GitHub instance github.fake, ignoring.")

stub_request(:put, "https://github.fake/api/v3/orgs/kittensinc/memberships/bob").to_return(
status: 404,
headers: {
Expand All @@ -196,7 +196,7 @@
"documentation_url" => "https://docs.github.com/rest"
})
)

result = subject.send(:add_user_to_organization, "bob", "admin")
expect(result).to eq(false)
end
Expand Down

0 comments on commit 6f5348f

Please sign in to comment.