summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2016-10-09 20:31:28 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2016-10-09 20:31:28 +0500
commit40fa1b6e6fa13c859351a6c8b6978d7ca3a4cf58 (patch)
treec3fe8d8ec066e1458552a3b9817f8bdb13a1e81c
parent4e963fed42ad518caa7353d361a38a1250c99c41 (diff)
downloadgitlab-ce-40fa1b6e6fa13c859351a6c8b6978d7ca3a4cf58.tar.gz
Use user from let instead recreate in before
-rw-r--r--spec/controllers/projects/blob_controller_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/controllers/projects/blob_controller_spec.rb b/spec/controllers/projects/blob_controller_spec.rb
index 9444a50b1ce..52d13fb6f9e 100644
--- a/spec/controllers/projects/blob_controller_spec.rb
+++ b/spec/controllers/projects/blob_controller_spec.rb
@@ -5,7 +5,6 @@ describe Projects::BlobController do
let(:user) { create(:user) }
before do
- user = create(:user)
project.team << [user, :master]
sign_in(user)