tests/libvirt/models/compute/server_tests.rb in fog-libvirt-0.0.3 vs tests/libvirt/models/compute/server_tests.rb in fog-libvirt-0.0.4
- old
+ new
@@ -18,9 +18,12 @@
true
end
}
end
end
+ tests('have an ip_address action that') do
+ test('returns the latest IP address lease') { server.public_ip_address() == '1.2.5.6' }
+ end
tests('have attributes') do
model_attribute_hash = server.attributes
attributes = [ :id,
:cpus,
:cputime,