Sha256: 798c8a91c5bd267b78173f9065df48fa2553424e658ce13e3d32b007b9bc2f0a
Contents?: true
Size: 506 Bytes
Versions: 27
Compression:
Stored size: 506 Bytes
Contents
require 'spec_helper' describe Twilio::REST::MonitorClient do before do @client = Twilio::REST::MonitorClient.new('AC123', 'foobar') end it 'should set up an event resources object' do expect(@client).to respond_to(:events) expect(@client.events.instance_variable_get('@path')).to eq('/v1/Events') end it 'should set up an alert resources object' do expect(@client).to respond_to(:alerts) expect(@client.alerts.instance_variable_get('@path')).to eq('/v1/Alerts') end end
Version data entries
27 entries across 27 versions & 1 rubygems