Sha256: 4bcb2895bba4bf794fd7838f7be1bbd579ced4ebeeb1ac74ed9815c8f670713d
Contents?: true
Size: 441 Bytes
Versions: 7
Compression:
Stored size: 441 Bytes
Contents
module Volt module Spec module Helpers def reconcile! # trigger the reconcile db_adaptor.db end def remove_model(klass) klass_name = klass.name.to_sym Volt::RootModels.remove_model_class(klass) Object.send(:remove_const, klass_name) end def indexes(table_name) Volt::Sql::Helper.normalized_indexes_from_table(db, table_name) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems