summaryrefslogtreecommitdiff
path: root/spec/lib/api/integrations/slack/events/url_verification_spec.rb
blob: 2778f0d708dc27cd5d1bcc0636fe8e11a6876d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe API::Integrations::Slack::Events::UrlVerification do
  describe '.call' do
    it 'returns the challenge' do
      expect(described_class.call({ challenge: 'foo' })).to eq({ challenge: 'foo' })
    end
  end
end