Sha256: f55e459f19bb2b20ecb6450ff2f56853c3f33757c7b52d9549607be9028f1c33
Contents?: true
Size: 368 Bytes
Versions: 4
Compression:
Stored size: 368 Bytes
Contents
require 'data_mapper/adapters/data_object_adapter' class MockAdapter < DataMapper::Adapters::DataObjectAdapter COLUMN_QUOTING_CHARACTER = "`" TABLE_QUOTING_CHARACTER = "`" def delete(instance_or_klass, options = nil) end def save(session, instance) end def load(session, klass, options) end def table_exists?(name) true end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
datamapper-0.2.0 | spec/mock_adapter.rb |
datamapper-0.2.1 | spec/mock_adapter.rb |
datamapper-0.2.2 | spec/mock_adapter.rb |
datamapper-0.2.3 | spec/mock_adapter.rb |