Commit 162cc55e authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use persisted stage feature to serialize pipelines

parent 3662f147
...@@ -8,6 +8,10 @@ describe PipelineSerializer do ...@@ -8,6 +8,10 @@ describe PipelineSerializer do
described_class.new(current_user: user) described_class.new(current_user: user)
end end
before do
stub_feature_flags(ci_pipeline_persisted_stages: true)
end
subject { serializer.represent(resource) } subject { serializer.represent(resource) }
describe '#represent' do describe '#represent' 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