Skip to content

Commit

Permalink
Github::Check class
Browse files Browse the repository at this point in the history
Updating unit tests

Signed-off-by: Rodrigo Nardi <[email protected]>
  • Loading branch information
RodrigoMNardi committed Jun 1, 2024
1 parent 400418e commit 9324918
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/lib/github/check_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
before do
allow(fake_client).to receive(:create_check_run)
.with(check_suite.pull_request.repository, name,
check_suite.commit_sha_ref, accept: 'application/vnd.github+json')
check_suite.commit_sha_ref, accept: 'application/vnd.github.antiope-preview+json')
.and_return(pr_info)
end

Expand All @@ -110,7 +110,7 @@
id,
{
status: status,
accept: 'application/vnd.github+json'
accept: 'application/vnd.github.antiope-preview+json'
})
.and_return(pr_info)
end
Expand All @@ -133,7 +133,7 @@
{
status: status,
output: output,
accept: 'application/vnd.github+json'
accept: 'application/vnd.github.antiope-preview+json'
})
.and_return(pr_info)
end
Expand Down Expand Up @@ -199,7 +199,7 @@
{
status: status,
conclusion: conclusion,
accept: 'application/vnd.github+json'
accept: 'application/vnd.github.antiope-preview+json'
})
.and_return(true)
end
Expand Down

0 comments on commit 9324918

Please sign in to comment.