diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2016-10-09 20:31:28 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2016-10-09 20:31:28 +0500 |
commit | 40fa1b6e6fa13c859351a6c8b6978d7ca3a4cf58 (patch) | |
tree | c3fe8d8ec066e1458552a3b9817f8bdb13a1e81c /spec | |
parent | 4e963fed42ad518caa7353d361a38a1250c99c41 (diff) | |
download | gitlab-ce-40fa1b6e6fa13c859351a6c8b6978d7ca3a4cf58.tar.gz |
Use user from let instead recreate in before
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects/blob_controller_spec.rb | 1 |
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) |