Commit 1d05a0db authored by Sean McGivern's avatar Sean McGivern

Merge branch 'pl-perf-spec-api-project-templates' into 'master'

Speed up project templates API specs

See merge request gitlab-org/gitlab!28260
parents f9202e28 c5c15f5e
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
require 'spec_helper' require 'spec_helper'
describe API::ProjectTemplates do describe API::ProjectTemplates do
let(:public_project) { create(:project, :public) } let_it_be(:public_project) { create(:project, :public) }
let(:private_project) { create(:project, :private) } let_it_be(:private_project) { create(:project, :private) }
let(:developer) { create(:user) } let_it_be(:developer) { create(:user) }
before do before do
private_project.add_developer(developer) private_project.add_developer(developer)
......
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