Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/ci/pipeline_entity_spec.rb')
-rw-r--r--spec/serializers/ci/pipeline_entity_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/serializers/ci/pipeline_entity_spec.rb b/spec/serializers/ci/pipeline_entity_spec.rb
index 4d9ed9fc22f..808dc38f653 100644
--- a/spec/serializers/ci/pipeline_entity_spec.rb
+++ b/spec/serializers/ci/pipeline_entity_spec.rb
@@ -224,7 +224,8 @@ RSpec.describe Ci::PipelineEntity do
end
it 'makes atached flag true' do
- expect(subject[:flags][:merge_request_pipeline]).to be_truthy
+ expect(subject[:flags][:merge_request_pipeline]).to be true
+ expect(subject[:flags][:merge_request]).to be true
end
it 'exposes source sha and target sha' do