Commit 98af4d86 authored by Peter Leitzen's avatar Peter Leitzen

Speed up CI trace lib specs

parent fdc120ce
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
require 'spec_helper' require 'spec_helper'
RSpec.describe Gitlab::Ci::Trace, :clean_gitlab_redis_shared_state do RSpec.describe Gitlab::Ci::Trace, :clean_gitlab_redis_shared_state, factory_default: :keep do
let(:build) { create(:ci_build) } let_it_be(:project) { create_default(:project) }
let_it_be_with_reload(:build) { create(:ci_build) }
let(:trace) { described_class.new(build) } let(:trace) { described_class.new(build) }
describe "associations" do 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