Sha256: 500d0f5440f5f9ed2f25f4f59df87d56ff98218f8e23c37af9f69b67948c5fef
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
require "terrestrial/adapters/memory_adapter" module Terrestrial module MemoryAdapterTestSupport module_function def build_datastore(schema, raw_storage = {}) Adapters::MemoryAdapter.build_from_schema(schema.fetch(:tables), raw_storage) end module_function def excluded_adapters "sequel" end module_function def before_suite(_schema) # NOOP end module_function def query_counter # NOOP end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
terrestrial-0.5.0 | spec/support/memory_adapter_test_support.rb |
terrestrial-0.3.0 | spec/support/memory_adapter_test_support.rb |