Commit 869c6b43 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'pipeline-message-spec' into 'master'

Remove pipeline message duplicate spec

See merge request gitlab-org/gitlab!28664
parents 61572b5b fe9a93a9
......@@ -400,7 +400,6 @@ RSpec/RepeatedExample:
- 'spec/lib/gitlab/closing_issue_extractor_spec.rb'
- 'spec/lib/gitlab/danger/changelog_spec.rb'
- 'spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
- 'spec/models/project_services/chat_message/pipeline_message_spec.rb'
- 'spec/routing/admin_routing_spec.rb'
- 'spec/rubocop/cop/migration/update_large_table_spec.rb'
- 'spec/services/notification_service_spec.rb'
......
---
title: Remove duplicate specs in pipeline message spec
merge_request: 28664
author: Rajendra Kadam
type: added
......@@ -447,14 +447,6 @@ describe ChatMessage::PipelineMessage do
end
end
it "returns the stage name and link as the attachment's second field property" do
expect(subject.attachments.first[:fields][1]).to eq({
title: "Commit",
value: "<http://example.com/commit|A test commit message>",
short: true
})
end
it "returns the project's name as the attachment's footer property" do
expect(subject.attachments.first[:footer]).to eq("project_name")
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment