Use persisted stage feature to serialize pipelines
This commit is contained in:
parent
3662f14769
commit
162cc55e49
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue