Skip to content

Commit 75a6339

Browse files
committed
unneeded stub
1 parent 32193f7 commit 75a6339

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: spec/integration/check_spec.rb

-6
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
it 'returns no versions' do
3535
payload = { version: { ref: '1' }, source: { repo: 'jtarchie/test', every: true } }
3636

37-
proxy.stub('https://api.github.com:443/repos/jtarchie/test/pulls/1')
38-
.and_return(json: {})
39-
4037
expect(check(payload)).to eq []
4138
end
4239
end
@@ -96,9 +93,6 @@
9693
it 'returns no versions' do
9794
payload = { version: { ref: '1' }, source: { repo: 'jtarchie/test' } }
9895

99-
proxy.stub('https://api.github.com:443/repos/jtarchie/test/pulls/1')
100-
.and_return(json: {})
101-
10296
expect(check(payload)).to eq []
10397
end
10498
end

0 commit comments

Comments
 (0)