spec/flydata/command/sync_spec.rb in flydata-0.6.0 vs spec/flydata/command/sync_spec.rb in flydata-0.6.1

- old
+ new

@@ -106,9 +106,10 @@ expect(subject).to receive(:log_info) expect(subject).to receive(:log_info_stdout).at_least(:once) expect(subject).to receive(:ask_yes_no).and_return(true).at_least(:once) Flydata::Parser::Mysql::DatabaseSizeCheck.any_instance.should_receive(:get_db_bytesize).and_return(db_byte) Flydata::MysqlCompatibilityCheck.any_instance.should_receive(:check) + expect_any_instance_of(FlydataCore::Event::ApiEventSender).to receive(:send_event).once end context 'with no stream option' do before do expect(default_sync_fm).to receive(:save_sync_info).once expect(subject).to receive(:free_disk_space).and_return(disk_byte)