Sha256: b90dd2b0b70f3cb98459752c6f22338423c94be1db220e36957bd9deebef7395
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
require 'spec_helper' module ApiResource module Associations describe HasManyRemoteObjectProxy do context "#<<" do it "implements the shift operator" do tr = TestResource.new tr.has_many_objects << HasManyObject.new tr.has_many_objects.length.should be 1 end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api_resource-0.6.4 | spec/lib/associations/has_many_remote_object_proxy_spec.rb |