Sha256: b3fa9f8f43f6ebe57ca142b10232420e21598e8752819cde7bd7b08129d6b53c
Contents?: true
Size: 462 Bytes
Versions: 16
Compression:
Stored size: 462 Bytes
Contents
module RequestLogAnalyzer::Spec::Macros def test_databases require 'yaml' hash = YAML.load(File.read("#{File.dirname(__FILE__)}/../database.yml")) hash.inject({}) { |res, (name, h)| res[name] = h.map { |(k,v)| "#{k}=#{v}" }.join(';'); res } end # Create or return a new TestingFormat def testing_format @testing_format ||= TestingFormat.create end def default_orm_class_names ['Warning', 'Request', 'Source'] end end
Version data entries
16 entries across 16 versions & 2 rubygems