Skip to content

Commit

Permalink
Remove a spec that was moved to GithubPull
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozuras committed Jul 18, 2018
1 parent e4188b3 commit 4d216c1
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions spec/pronto/github_spec.rb
Expand Up @@ -172,23 +172,6 @@ module Pronto
subject
end
end

context 'pull request for detached head does not exist' do
let(:comments) do
[double(path: 'bad_file.rb', position: 10, body: 'Offense #1')]
end
let(:repo) do
double(remote_urls: ['git@github.com:prontolabs/pronto'],
branch: nil,
head_detached?: true,
head_commit_sha: 'sha_with_no_pr')
end
specify do
octokit_client.should_not_receive(:create_pull_request_review)

-> { subject }.should raise_error(Pronto::Error, /sha_with_no_pr/)
end
end
end
end
end

0 comments on commit 4d216c1

Please sign in to comment.