Sha256: 7ba536b557ea5b8e307d0c216f5b38b334913520363a1ba5fd07b186fb262d04
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' describe 'An active_model compliant DataMapper::Resource' do before :all do module ComplianceTest class ProfileInfo include DataMapper::Resource property :id, Serial end end DataMapper.setup(:default, 'sqlite3::memory:') DataMapper.auto_migrate! end before :each do @model = ComplianceTest::ProfileInfo.new.to_model end it_should_behave_like 'an active_model compliant object' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-active_model-0.4.0 | spec/dm-active_model_spec.rb |