spec/lib/batch_spec.rb in assimilate-0.4.2 vs spec/lib/batch_spec.rb in assimilate-0.5.0
- old
+ new
@@ -7,11 +7,11 @@
@catalog = Assimilate::Catalog.new(:config => File.dirname(__FILE__) + "/../data/test.yml")
reset_catalog
end
def reset_catalog
- @catalog.catalog.remove
- @catalog.batches.remove
+ @catalog.catalog.drop
+ @catalog.batches.drop
end
def import_data(datestamp, filename = "batch_input.csv")
@batcher = @catalog.start_batch(domain: 'testdata', datestamp: datestamp, filename: filename, idfield: 'ID')