summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-06 22:35:46 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-11-06 22:35:46 +0100
commit0d8b695569010ef958176c8ebf635e56d27d5d41 (patch)
tree0817bb41aa916a4939452f9e6dfd15f72633aa9d /spec/serializers
parent772d3b1b4d5082e3df1eb6edf9a3920f47679113 (diff)
downloadgitlab-ce-0d8b695569010ef958176c8ebf635e56d27d5d41.tar.gz
Fix pipeline entity test related to stagesfix/gb/ensure-that-job-belongs-to-stage
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/pipeline_details_entity_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/pipeline_details_entity_spec.rb b/spec/serializers/pipeline_details_entity_spec.rb
index f60d1843581..45e18086894 100644
--- a/spec/serializers/pipeline_details_entity_spec.rb
+++ b/spec/serializers/pipeline_details_entity_spec.rb
@@ -107,7 +107,7 @@ describe PipelineDetailsEntity do
it 'contains stages' do
expect(subject).to include(:details)
expect(subject[:details]).to include(:stages)
- expect(subject[:details][:stages].first).to include(name: 'external')
+ expect(subject[:details][:stages].first).to include(name: 'test')
end
end