File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
.vagrant /
2
2
example /
3
+ .bundle
4
+ bin
Original file line number Diff line number Diff line change 59
59
end
60
60
61
61
context 'and the version is the same as the pull request' do
62
- it 'returns nothing ' do
62
+ it 'returns no versions ' do
63
63
payload = { version : { ref : 'abcdef' , pr : '1' } , source : { repo : 'jtarchie/test' } }
64
64
65
65
expect ( check ( payload ) ) . to eq [ ]
73
73
. and_return ( json : [ { state : 'pending' , context : 'concourse-ci' } ] )
74
74
end
75
75
76
- it 'returns SHA of the pull request ' do
76
+ it 'returns no versions ' do
77
77
expect ( check ( source : { repo : 'jtarchie/test' } , version : { } ) ) . to eq [ ]
78
78
end
79
79
80
80
context 'and the version is the same as the pull request' do
81
- it 'returns nothing ' do
81
+ it 'returns no versions ' do
82
82
payload = { version : { ref : 'abcdef' , pr : '1' } , source : { repo : 'jtarchie/test' } }
83
83
84
84
expect ( check ( payload ) ) . to eq [ ]
You can’t perform that action at this time.
0 commit comments