Sha256: 678f914d10194ed9e05992ebe26825e96316a3948ea84532f799a5fb2b480807

Contents?: true

Size: 264 Bytes

Versions: 20

Compression:

Stored size: 264 Bytes

Contents

require "spec_helper"

describe "Intercom::Admin" do
  it "returns a CollectionProxy for all without making any requests" do
    Intercom.expects(:execute_request).never
    all = Intercom::Admin.all
    all.must_be_instance_of(Intercom::CollectionProxy)
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
cogniteev-intercom-2.5.4 spec/unit/intercom/admin_spec.rb
intercom-2.5.4 spec/unit/intercom/admin_spec.rb
intercom-2.4.4 spec/unit/intercom/admin_spec.rb
intercom-2.4.3 spec/unit/intercom/admin_spec.rb
intercom-2.4.2 spec/unit/intercom/admin_spec.rb
intercom-2.4.1 spec/unit/intercom/admin_spec.rb
intercom-2.4.0 spec/unit/intercom/admin_spec.rb
intercom-2.3.0 spec/unit/intercom/admin_spec.rb
intercom-2.2.4 spec/unit/intercom/admin_spec.rb
intercom-2.2.3 spec/unit/intercom/admin_spec.rb
intercom-2.2.2 spec/unit/intercom/admin_spec.rb
intercom-2.2.1 spec/unit/intercom/admin_spec.rb
intercom-2.2.0 spec/unit/intercom/admin_spec.rb
intercom-2.1.6 spec/unit/intercom/admin_spec.rb
intercom-2.1.5 spec/unit/intercom/admin_spec.rb
intercom-2.1.4 spec/unit/intercom/admin_spec.rb
intercom-2.1.3 spec/unit/intercom/admin_spec.rb
intercom-2.1.2 spec/unit/intercom/admin_spec.rb
intercom-2.1.1 spec/unit/intercom/admin_spec.rb
intercom-2.1.0 spec/unit/intercom/admin_spec.rb