summaryrefslogtreecommitdiff
path: root/spec/serializers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-11-07 12:52:52 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2017-11-07 12:52:52 +0000
commitad526918d360cbf5d8ab3efeb0eddf482b9e6e77 (patch)
tree2d40de788985057716f7cd3d7f04ff7e574fb7ff /spec/serializers
parent5c136f1d717b037ed8a5c88273ed3ed760b0f1d3 (diff)
parent0d8b695569010ef958176c8ebf635e56d27d5d41 (diff)
downloadgitlab-ce-ad526918d360cbf5d8ab3efeb0eddf482b9e6e77.tar.gz
Merge branch 'fix/gb/ensure-that-job-belongs-to-stage' into 'master'
Make sure that every job has a stage assigned Closes #37979 See merge request gitlab-org/gitlab-ce!14724
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