Commit c2bed4cd authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'cablett-milestone-spec-speedup' into 'master'

Make milestone_finder_spec faster

See merge request gitlab-org/gitlab!40255
parents 9f637fbc 3d3ab4a5
......@@ -3,8 +3,8 @@
require 'spec_helper'
RSpec.describe Gitlab::GithubImport::MilestoneFinder, :clean_gitlab_redis_cache do
let!(:project) { create(:project) }
let!(:milestone) { create(:milestone, project: project) }
let_it_be(:project) { create(:project) }
let_it_be(:milestone) { create(:milestone, project: project) }
let(:finder) { described_class.new(project) }
describe '#id_for' 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