Commit 40fa1b6e authored by Semyon Pupkov's avatar Semyon Pupkov

Use user from let instead recreate in before

parent 4e963fed
...@@ -5,7 +5,6 @@ describe Projects::BlobController do ...@@ -5,7 +5,6 @@ describe Projects::BlobController do
let(:user) { create(:user) } let(:user) { create(:user) }
before do before do
user = create(:user)
project.team << [user, :master] project.team << [user, :master]
sign_in(user) sign_in(user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment