minitests/server/server_test.rb in fog-libvirt-0.5.0 vs minitests/server/server_test.rb in fog-libvirt-0.6.0
- old
+ new
@@ -39,10 +39,10 @@
fog_ssh = MiniTest::Mock.new
result = MiniTest::Mock.new
result.expect(:status, 0)
result.expect(:stdout, "any_ip")
fog_ssh.expect(:run, [result], [String])
- uri = ::Fog::Compute::LibvirtUtil::URI.new('qemu+ssh://localhost:22?keyfile=nofile')
+ uri = ::Fog::Libvirt::Util::URI.new('qemu+ssh://localhost:22?keyfile=nofile')
Fog::SSH.stub(:new, fog_ssh) do
@server.send(:ssh_ip_command, "test command", uri)
end
fog_ssh.verify
end