Sha256: c969b8a9b6f42872767ada2a6516dc87068f8a5b1caa8cee3688c0e49f0c8a38
Contents?: true
Size: 519 Bytes
Versions: 5
Compression:
Stored size: 519 Bytes
Contents
module UnitTests module DatabaseHelpers def self.configure_example_group(example_group) example_group.include(self) example_group.extend(self) end def database_adapter Tests::Database.instance.adapter_name end def postgresql? database_adapter == :postgresql end alias_method :database_supports_array_columns?, :postgresql? alias_method :database_supports_uuid_columns?, :postgresql? alias_method :database_supports_money_columns?, :postgresql? end end
Version data entries
5 entries across 5 versions & 1 rubygems