summaryrefslogtreecommitdiff
path: root/spec/requests/ci
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-04-09 01:21:18 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2016-04-20 11:53:44 +0200
commitdd29283a880dd5b02c462777e18b2bc29ab7ce97 (patch)
tree8b64ea46285c4a4b48928b0c420a129054f83cbb /spec/requests/ci
parent360bd831bfe40f3c44e35d884c32fa49fede87ab (diff)
downloadgitlab-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.rb2
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 }