Sha256: 1ef163ca381d91017b26262f52aad350811473b335c54675466dd64c25d093d9
Contents?: true
Size: 323 Bytes
Versions: 53
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' describe "Intercom::Segment" do let (:client) { Intercom::Client.new(app_id: 'app_id', api_key: 'api_key') } it 'lists segments' do client.expects(:get).with('/segments', {}).returns(segment_list) segments = client.segments.all.to_a segments[0].name.must_equal('Active') end end
Version data entries
53 entries across 53 versions & 1 rubygems