Commit c5c15f5e authored by Peter Leitzen's avatar Peter Leitzen

Speed up project templates API specs

parent e51adc71
......@@ -3,9 +3,9 @@
require 'spec_helper'
describe API::ProjectTemplates do
let(:public_project) { create(:project, :public) }
let(:private_project) { create(:project, :private) }
let(:developer) { create(:user) }
let_it_be(:public_project) { create(:project, :public) }
let_it_be(:private_project) { create(:project, :private) }
let_it_be(:developer) { create(:user) }
before do
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