Class: DataMapper::Spec::Adapters::OracleAdapter
- Inherits:
-
Adapter
- Object
- Adapter
- DataMapper::Spec::Adapters::OracleAdapter
- Defined in:
- lib/dm-oracle-adapter/spec/setup.rb
Instance Method Summary collapse
Instance Method Details
#storage_name ⇒ Object
14 15 16 |
# File 'lib/dm-oracle-adapter/spec/setup.rb', line 14 def storage_name ENV.fetch("#{name}_storage_name", super()) end |
#test_connection(adapter) ⇒ Object
10 11 12 |
# File 'lib/dm-oracle-adapter/spec/setup.rb', line 10 def test_connection(adapter) adapter.select('SELECT 1 FROM dual') end |