Sha256: e3489410aa10ca9274a3d7a2141ffd09d266a86021c83e2730290e8216fbd3b1
Contents?: true
Size: 376 Bytes
Versions: 4
Compression:
Stored size: 376 Bytes
Contents
require 'logger' module KeymapTest def self.connection_name ENV['KEYCONN'] || config['default_connection'] end def self.connection_config config['connections'][connection_name] end def self.connect Keymap::Base.logger = Logger.new("debug.log") Keymap::Base.configurations = connection_config Keymap::Base.establish_connection 'test' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
keymap-0.3.2 | spec/support/connection.rb |
keymap-0.3.1 | spec/support/connection.rb |
keymap-0.3.0 | spec/support/connection.rb |
keymap-0.2.0 | spec/support/connection.rb |