spec/flydata/command/setup_spec.rb in flydata-0.6.6 vs spec/flydata/command/setup_spec.rb in flydata-0.6.7
- old
+ new
@@ -34,10 +34,10 @@
end
it do
expect(Flydata::Command::Conf).to receive(:new).and_return(conf)
expect(Flydata::Command::Login).to receive(:new).and_return(login)
expect(Flydata::Command::Sender).to receive(:new).and_return(sender).twice
-
+ expect_any_instance_of(Flydata::Command::Setup).to receive(:system).with('flydata helper:restart')
subject.initial_run
end
end
end
end