Sha256: 09a90f21a33b01a81c089c7b1a10de3dd62950392df0f5a2efc90dc194a494da
Contents?: true
Size: 414 Bytes
Versions: 1
Compression:
Stored size: 414 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')) describe DataMapper::Mongo::Property::ObjectId do before(:all) do class User include DataMapper::Mongo::Resource property :id, ObjectId end @property_class = DataMapper::Mongo::Property::ObjectId @property = User.properties[:id] end it_should_behave_like 'An ObjectId Type' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-mongo-adapter-0.6.0 | spec/public/properties/object_id_spec.rb |