Sha256: dc68683ae9401d790fddd58df892ad2c8384835888c59f025349c05b8455ab2b
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 Bytes
Contents
require File.expand_path("../../spec_helper", File.dirname(__FILE__)) describe MongoMapper::Plugins::Paranoia::ActsAsParanoid do class ParanoidBySugar include MongoMapper::Document acts_as_paranoid end context 'MongoMapper::Plugins::Paranoia Mixin' do it 'should be present in the ancestors' do ParanoidBySugar.ancestors.should include(MongoMapper::Plugins::Paranoia::InstanceMethods) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo_mapper-paranoia-0.0.2 | spec/mongo_mapper/paranoia/acts_as_paranoid_spec.rb |
mongo_mapper-paranoia-0.0.1 | spec/mongo_mapper/paranoia/acts_as_paranoid_spec.rb |