Class: DataMapper::Spec::Adapters::InMemoryAdapter

Inherits:
Adapter
  • Object
show all
Defined in:
lib/dm-core/spec/setup.rb

Instance Attribute Summary

Attributes inherited from Adapter

#name

Instance Method Summary collapse

Methods inherited from Adapter

#adapter, #adapter_name, #alternate_storage_name, #default_storage_name, #host, #initialize, #password, #setup!, #storage_name, #test_connection, #username

Constructor Details

This class inherits a constructor from DataMapper::Spec::Adapters::Adapter

Instance Method Details

#connection_uriObject



165
166
167
# File 'lib/dm-core/spec/setup.rb', line 165

def connection_uri
  { :adapter => :in_memory }
end