spec/flydata/command/setup_spec.rb in flydata-0.6.11 vs spec/flydata/command/setup_spec.rb in flydata-0.6.12

- old
+ new

@@ -23,10 +23,9 @@ allow(flydata).to receive(:flydata_api_host).and_return('localhost') expect(flydata).to receive(:credentials).and_return(credentials) expect(credentials).to receive(:authenticated?).and_return(false) allow(data_port).to receive(:get).and_return(dp) expect(sender).to receive(:process_exist?).and_return(true) - expect(sender).to receive(:stop) allow(sync_fm).to receive(:source_pos_path).and_return('/tmp') expect(conf).to receive(:copy_templates) expect(login).to receive(:run) expect(sender).to receive(:restart) allow(Flydata::SyncFileManager).to receive(:new).with(de).and_return(sync_fm)