diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-24 21:09:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-24 21:09:46 +0300 |
commit | aca82d5ba49a8d2cf7ca30ac4ee6dcbd62b47cff (patch) | |
tree | 3ce0eff868aab025bc85c37d921582217f4c69f9 /spec/serializers | |
parent | 8a840df2e433bc39d033b20e64402fa3f56445d3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/test_case_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/test_case_entity_spec.rb b/spec/serializers/test_case_entity_spec.rb index f16c271be4d..9f1822ff581 100644 --- a/spec/serializers/test_case_entity_spec.rb +++ b/spec/serializers/test_case_entity_spec.rb @@ -38,7 +38,7 @@ describe TestCaseEntity do end context 'when attachment is present' do - let(:test_case) { build(:test_case, :with_attachment) } + let(:test_case) { build(:test_case, :failed_with_attachment) } it 'returns the attachment_url' do expect(subject).to include(:attachment_url) @@ -60,7 +60,7 @@ describe TestCaseEntity do end context 'when attachment is present' do - let(:test_case) { build(:test_case, :with_attachment) } + let(:test_case) { build(:test_case, :failed_with_attachment) } it 'returns no attachment_url' do expect(subject).not_to include(:attachment_url) |