diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-04-09 01:21:18 +0200 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-04-20 11:53:44 +0200 |
commit | dd29283a880dd5b02c462777e18b2bc29ab7ce97 (patch) | |
tree | 8b64ea46285c4a4b48928b0c420a129054f83cbb /spec/requests/ci | |
parent | 360bd831bfe40f3c44e35d884c32fa49fede87ab (diff) | |
download | gitlab-ce-dd29283a880dd5b02c462777e18b2bc29ab7ce97.tar.gz |
Make sure that appending is done on a valid length
Diffstat (limited to 'spec/requests/ci')
-rw-r--r-- | spec/requests/ci/api/builds_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/ci/api/builds_spec.rb b/spec/requests/ci/api/builds_spec.rb index eb8c476c882..ebd16c7efbe 100644 --- a/spec/requests/ci/api/builds_spec.rb +++ b/spec/requests/ci/api/builds_spec.rb @@ -195,7 +195,7 @@ describe Ci::API::API do it { expect(response.status).to eq 400 } end - context 'when build has been erased' do + context 'when build has been errased' do let(:build) { create(:ci_build, runner_id: runner.id, erased_at: Time.now) } it { expect(response.status).to eq 403 } |