Sha256: 0de15fdb555a84a0cc8c8fc0395c0d8cdc4e7d7c744d5250b5a403a05d5c20fe
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' describe ApiResource::Associations::AssociationProxy do before(:all) do TestResource.reload_resource_definition end context "#remote_path" do it "should provide access to its remote path when instantiated through a parent" do test_resource = TestResource.find(1) test_resource.has_many_service_uri.remote_path.should eql( "/test_resource/1/has_many" ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems