diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-29 18:23:49 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-05-29 18:23:49 +0300 |
commit | 162cc55e49e155d64ee862dfebefd97cec7d272c (patch) | |
tree | 4808dabc1424001041738f26d57247d6474aebd5 /spec/serializers | |
parent | 3662f147692749b20c5c8ad8ea391fd94e43ed38 (diff) |
Use persisted stage feature to serialize pipelines
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/pipeline_serializer_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/serializers/pipeline_serializer_spec.rb b/spec/serializers/pipeline_serializer_spec.rb index 9319d29279a..7c7cdaedf10 100644 --- a/spec/serializers/pipeline_serializer_spec.rb +++ b/spec/serializers/pipeline_serializer_spec.rb @@ -8,6 +8,10 @@ describe PipelineSerializer do described_class.new(current_user: user) end + before do + stub_feature_flags(ci_pipeline_persisted_stages: true) + end + subject { serializer.represent(resource) } describe '#represent' do |