spec/integration/open_pr_spec.rb in geet-0.3.17 vs spec/integration/open_pr_spec.rb in geet-0.3.18
- old
+ new
@@ -14,10 +14,10 @@
context 'with github.com' do
let(:repository_name) { 'testrepo_upstream' }
it 'should open the PR for the current branch' do
allow(git_client).to receive(:current_branch).and_return(branch)
- allow(git_client).to receive(:remote).with('origin').and_return("git@github.com:#{owner}/#{repository_name}")
+ allow(git_client).to receive(:remote).with(no_args).and_return("git@github.com:#{owner}/#{repository_name}")
expected_pr_number = 3
expected_output = <<~STR
Finding PR with head (#{owner}:#{branch})...
STR