Skip to content

Commit a42fa64

Browse files
committed
Correct and standardise example names
1 parent d598da3 commit a42fa64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/integration/check_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
end
6060

6161
context 'and the version is the same as the pull request' do
62-
it 'returns nothing' do
62+
it 'returns no versions' do
6363
payload = { version: { ref: 'abcdef', pr: '1' }, source: { repo: 'jtarchie/test' } }
6464

6565
expect(check(payload)).to eq []
@@ -73,12 +73,12 @@
7373
.and_return(json: [{ state: 'pending', context: 'concourse-ci' }])
7474
end
7575

76-
it 'returns SHA of the pull request' do
76+
it 'returns no versions' do
7777
expect(check(source: { repo: 'jtarchie/test' }, version: {})).to eq []
7878
end
7979

8080
context 'and the version is the same as the pull request' do
81-
it 'returns nothing' do
81+
it 'returns no versions' do
8282
payload = { version: { ref: 'abcdef', pr: '1' }, source: { repo: 'jtarchie/test' } }
8383

8484
expect(check(payload)).to eq []

0 commit comments

Comments
 (0)