summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-05 08:22:29 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-19 17:24:59 +0100
commit293999cabbceab43ca82c5178285d52dfb55cb08 (patch)
treeefa39c89eb4288663452271e7ee4f2a02ec64343 /spec/requests
parentec5c3c029ce220f5a1c0fd10d0d3bf17951a07c9 (diff)
downloadgitlab-ce-293999cabbceab43ca82c5178285d52dfb55cb08.tar.gz
Fix name of build erasable, remove superfluous method from it
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/builds_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb
index 56ab303268f..0ea6c2c7356 100644
--- a/spec/requests/api/builds_spec.rb
+++ b/spec/requests/api/builds_spec.rb
@@ -175,7 +175,7 @@ describe API::API, api: true do
delete api("/projects/#{project.id}/builds/#{build.id}/content", user)
end
- context 'build is eraseable' do
+ context 'build is erasable' do
let(:build) { create(:ci_build_with_trace, :artifacts, :success, project: project, commit: commit) }
it 'should erase build content' do
@@ -186,7 +186,7 @@ describe API::API, api: true do
end
end
- context 'build is not eraseable' do
+ context 'build is not erasable' do
let(:build) { create(:ci_build_with_trace, project: project, commit: commit) }
it 'should respond with forbidden' do