Commit 121d470f authored by allison.browne's avatar allison.browne

Use let_it_be to reduce queries

parent 881661c2
......@@ -3,8 +3,8 @@
require 'spec_helper'
RSpec.describe 'Pipeline', :js do
let(:user) { create(:user) }
let(:project) { create(:project, :repository) }
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :repository) }
before do
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