Sha256: 17e5c691f70d597a3293231aef78c6896c56c2cdd9399909ec34f7227a819325
Contents?: true
Size: 515 Bytes
Versions: 4
Compression:
Stored size: 515 Bytes
Contents
require 'dbi' Given /^a database "([^"]*)" with a table "([^"]*)" with the following data$/ do |database, table_name, table| create_dummy_database_with_data(:sqlite3, nil, database, table_name, table) end Given /^a PostgreSQL database named "([^"]*)" on "([^"]*)"$/ do |database, host| @database = database @host = host @driver = :postgresql end When /^a table "([^"]*)" with the following data$/ do |table_name, table| create_dummy_database_with_data(@driver, @host, @database, table_name, table) end
Version data entries
4 entries across 4 versions & 1 rubygems