Skip to content

Commit

Permalink
Fix rubocop failures from #268
Browse files Browse the repository at this point in the history
  • Loading branch information
rnelson0 committed Jan 5, 2017
1 parent 1b8a56e commit c94453d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/acceptance/basic_webhook_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ class {'r10k::webhook':
it { expect(r.stdout).to match(%r{^.*success.*$}) }
it { expect(r.exit_code).to eq(0) }
end
# rubocop:disable RSpec/MultipleExpectations
it 'should successfully lock when hammered with multiple requests' do
it 'successfully locks when hammered with multiple requests' do
4.times do
Thread.new do
shell('/usr/bin/curl -d \'{ "ref": "refs/heads/production" }\' -H "Accept: application/json" "http://localhost:8088/payload" -k -q') do |r|
expect(r.stdout).to match(/^.*success.*$/)
expect(r.stdout).to match(%r{^.*success.*$})
expect(r.exit_code).to eq(0)
end
end
Expand Down

0 comments on commit c94453d

Please sign in to comment.