Sha256: e052cf08bc947446ee73846d02aec94edfbe9fee291d8d2a1f312bbc55b90dbd
Contents?: true
Size: 394 Bytes
Versions: 15
Compression:
Stored size: 394 Bytes
Contents
require 'spec_helper' describe Octopus::CollectionProxy do describe 'method dispatch' do before :each do @client = Client.using(:canada).create! @client.items << Item.using(:canada).create! end it 'computes the size of the collection without loading it' do expect(@client.items.size).to eq(1) expect(@client.items.loaded?).to be false end end end
Version data entries
15 entries across 15 versions & 4 rubygems