Sha256: b6d047f01c41605386bba700ae67387f272b2bbcffd590adaba01f0e8801de03
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
require 'spec_helper' describe Dbcp::MysqlDatabase do subject do Dbcp::MysqlDatabase.new({ host: 'local', database: 'my_database', username: 'my_user', password: 'my_password', }) end let(:snapshot_file) { Dbcp::DatabaseSnapshotFile.new double } describe "#export_command" do specify { expect(subject.export_command snapshot_file).to match 'mysqldump' } end describe "#import_command" do specify { expect(subject.import_command snapshot_file).to match 'mysql' } end end
Version data entries
4 entries across 4 versions & 1 rubygems