Skip to content

Commit

Permalink
Update github_check_run_service_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bermannoah authored Mar 24, 2022
1 parent 1c78393 commit c9feb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/github_check_run_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
stub_request(:any, 'https://api.github.com/repos/owner/repository_name/check-runs')
.to_return(status: 200, body: '{"id": "id"}')

stub_const("GithubCheckRunService::MAX_ANNOTATIONS_SIZE", 2)
stub_const('GithubCheckRunService::MAX_ANNOTATIONS_SIZE', 2)
allow(service).to receive(:client_patch).and_return({})
expect(service).to receive(:client_patch).twice
service.run
Expand Down

0 comments on commit c9feb7d

Please # to comment.