Sha256: c8ebbfd4134c3bd51727753cf73e758effdca185ee84de32aecbd0d0978b6502
Contents?: true
Size: 302 Bytes
Versions: 8
Compression:
Stored size: 302 Bytes
Contents
require 'spec_helper' describe "Intercom::Segment" do let(:client) { Intercom::Client.new(token: 'token') } 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
8 entries across 8 versions & 1 rubygems