Commit fe9a93a9 authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Igor Drozdov

Remove pipeline message duplicate spec

parent 00286b2f
...@@ -404,7 +404,6 @@ RSpec/RepeatedExample: ...@@ -404,7 +404,6 @@ RSpec/RepeatedExample:
- 'spec/lib/gitlab/closing_issue_extractor_spec.rb' - 'spec/lib/gitlab/closing_issue_extractor_spec.rb'
- 'spec/lib/gitlab/danger/changelog_spec.rb' - 'spec/lib/gitlab/danger/changelog_spec.rb'
- 'spec/lib/gitlab/import_export/project/relation_factory_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/routing/admin_routing_spec.rb'
- 'spec/rubocop/cop/migration/update_large_table_spec.rb' - 'spec/rubocop/cop/migration/update_large_table_spec.rb'
- 'spec/services/notification_service_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 ...@@ -447,14 +447,6 @@ describe ChatMessage::PipelineMessage do
end end
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 it "returns the project's name as the attachment's footer property" do
expect(subject.attachments.first[:footer]).to eq("project_name") expect(subject.attachments.first[:footer]).to eq("project_name")
end 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