Sha256: bbd5c82652c7ab8879af1ecdcfb5a3177af29a4ea432dc32b2b845d3d248c06d

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

require 'spec_helper'

describe "Intercom::PhoneCallRedirect" do
  let(:client) { Intercom::Client.new(token: 'token') }

  it "creates a phone redirect" do
    
    client.expects(:post).with("/phone_call_redirect", {phone_number: "+353871234567"})
    client.phone_call_redirect.create(phone_number: "+353871234567")
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
intercom-4.2.1 spec/unit/intercom/phone_call_redirect.rb
intercom-4.2.0 spec/unit/intercom/phone_call_redirect.rb