2020-01-01 13:55:28 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require "spec_helper"
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe UnifyCircuitService do
|
2020-01-01 13:55:28 +05:30
|
|
|
it_behaves_like "chat service", "Unify Circuit" do
|
|
|
|
let(:client_arguments) { webhook_url }
|
2021-04-17 20:07:23 +05:30
|
|
|
let(:payload) do
|
|
|
|
{
|
|
|
|
subject: project.full_name,
|
|
|
|
text: be_present,
|
|
|
|
markdown: true
|
|
|
|
}
|
|
|
|
end
|
2020-01-01 13:55:28 +05:30
|
|
|
end
|
|
|
|
end
|