spec/lib/dbcp/cli_spec.rb in dbcp-0.1.0 vs spec/lib/dbcp/cli_spec.rb in dbcp-0.2.0
- old
+ new
@@ -2,12 +2,9 @@
describe Dbcp::Cli do
subject { Dbcp::Cli.new silent_stdout }
let(:silent_stdout) { '/dev/null' }
- extend ExecuteInDirectory
- execute_in_directory(File.expand_path('../../../fixtures', __FILE__))
-
describe "#start" do
context "success" do
let(:source) { double 'Dbcp::Environment', database: double(adapter: 'postgres'), environment_name: 'staging' }
let(:destination) { double 'Dbcp::Environment', database: double(adapter: 'postgres'), environment_name: 'development' }
let(:source_snapshot_file) { double 'Dbcp::DatabaseSnapshotFile.new', path: '/tmp/foo', transfer_to: destination_snapshot_file }