Commit 2a0352a2 authored by Peter Leitzen's avatar Peter Leitzen Committed by Ash McKenzie

Speed up project model specs by using factory default for namespace

parent 79e8bd16
......@@ -2,12 +2,14 @@
require 'spec_helper'
RSpec.describe Project do
RSpec.describe Project, factory_default: :keep do
include ProjectForksHelper
include GitHelpers
include ExternalAuthorizationServiceHelpers
using RSpec::Parameterized::TableSyntax
let_it_be(:namespace) { create_default(:namespace) }
it_behaves_like 'having unique enum values'
describe 'associations' do
......
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