summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 20:08:09 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 20:08:09 +0800
commit145da6b1c1794d8e7191e99edc71269130cbfbb9 (patch)
tree052c8de9c881f1bc133e98b70fac937ae7a75bed /spec
parent0c202f3751e1aba94743a9e1b985a6c528775c33 (diff)
downloadgitlab-ce-145da6b1c1794d8e7191e99edc71269130cbfbb9.tar.gz
Use only one before, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5347#note_13195672
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/api/builds_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb
index 6e84604c949..e623eed7e9e 100644
--- a/spec/requests/api/builds_spec.rb
+++ b/spec/requests/api/builds_spec.rb
@@ -232,9 +232,7 @@ describe API::API, api: true do
before do
pipeline.update(ref: 'master',
sha: project.commit('master').sha)
- end
- before do
get path_for_ref('master')
end