Use only one before block, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142/diffs#note_14347758
This commit is contained in:
parent
eadb1dc547
commit
bc3493f947
1 changed files with 0 additions and 2 deletions
|
@ -17,9 +17,7 @@ describe Projects::ArtifactsController do
|
||||||
describe 'GET /:project/builds/artifacts/:ref_name/browse?job=name' do
|
describe 'GET /:project/builds/artifacts/:ref_name/browse?job=name' do
|
||||||
before do
|
before do
|
||||||
project.team << [user, :developer]
|
project.team << [user, :developer]
|
||||||
end
|
|
||||||
|
|
||||||
before do
|
|
||||||
login_as(user)
|
login_as(user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue