2019-12-02 12:06:45 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require "spec_helper"
|
|
|
|
|
2020-06-24 18:09:03 +00:00
|
|
|
RSpec.describe UnifyCircuitService do
|
2019-12-02 12:06:45 +00:00
|
|
|
it_behaves_like "chat service", "Unify Circuit" do
|
|
|
|
let(:client_arguments) { webhook_url }
|
2021-02-23 12:10:56 +00:00
|
|
|
let(:payload) do
|
|
|
|
{
|
|
|
|
subject: project.full_name,
|
|
|
|
text: be_present,
|
|
|
|
markdown: true
|
|
|
|
}
|
|
|
|
end
|
2019-12-02 12:06:45 +00:00
|
|
|
end
|
|
|
|
end
|