diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-24 14:40:18 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-24 14:40:18 +0800 |
commit | bc3493f9474d2557c1c30bf30a61e4cd51ece0f1 (patch) | |
tree | 4a73d51d98582cef9e9b37593255712cb1a30d9f /spec/requests/projects | |
parent | eadb1dc547ac1d0e3eb964d077f0b1580d588a95 (diff) | |
download | gitlab-ce-bc3493f9474d2557c1c30bf30a61e4cd51ece0f1.tar.gz |
Use only one before block, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142/diffs#note_14347758
Diffstat (limited to 'spec/requests/projects')
-rw-r--r-- | spec/requests/projects/artifacts_controller_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/requests/projects/artifacts_controller_spec.rb b/spec/requests/projects/artifacts_controller_spec.rb index 1c68ec9117b..3ba6725efc3 100644 --- a/spec/requests/projects/artifacts_controller_spec.rb +++ b/spec/requests/projects/artifacts_controller_spec.rb @@ -17,9 +17,7 @@ describe Projects::ArtifactsController do describe 'GET /:project/builds/artifacts/:ref_name/browse?job=name' do before do project.team << [user, :developer] - end - before do login_as(user) end |