Sha256: 94c4421fa959f16dce2d89118e28ec4cdc1d690df1b2b49779773c13499a3006
Contents?: true
Size: 528 Bytes
Versions: 3
Compression:
Stored size: 528 Bytes
Contents
Given /^I create a Loader::DatabaseTable object for the "([^"]*)" table$/ do |arg1| @destination = Itiel::Load::DatabaseTable.new :test, "blogposts" end When /^I load the source into the destination$/ do @source >> @destination @source.start end Then /^the "([^"]*)" table should have (\d+) records$/ do |table_name, record_count| Itiel::Extract::CustomSQL.connection_file_path = @database_config_path expect(Itiel::Extract::CustomSQL.sequel_connection(:test)[table_name.to_sym].count).to eq record_count.to_i end
Version data entries
3 entries across 3 versions & 1 rubygems