Use persisted stage feature to serialize pipelines

This commit is contained in:
Grzegorz Bizon 2018-05-29 17:23:49 +02:00
parent 3662f14769
commit 162cc55e49

View file

@ -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