Sha256: 93d120a926cf641a13434143533e57273fedb168cee00bf915ec1ee27c421477
Contents?: true
Size: 695 Bytes
Versions: 2
Compression:
Stored size: 695 Bytes
Contents
require "assert/factory" module Factory extend Assert::Factory def self.migration_id # identifiers need to be plural b/c af activesupport"s pluralize "#{Factory.string}_things" end def self.ardb_config Ardb::Config.new.tap do |c| c.adapter = Factory.string c.database = Factory.string c.encoding = Factory.string c.host = Factory.string c.port = Factory.integer c.username = Factory.string c.password = Factory.string c.pool = Factory.integer c.checkout_timeout = Factory.integer c.min_messages = Factory.string end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ardb-0.29.1 | test/support/factory.rb |
ardb-0.29.0 | test/support/factory.rb |