Commit bddd3da1 authored by Fabio Pitino's avatar Fabio Pitino

Merge branch 'ab-speed-project-pipeline-spec' into 'master'

Use let_it_be to reduce queries

See merge request gitlab-org/gitlab!40311
parents 5ff3f72f 121d470f
......@@ -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