tests/fogdocker/models/compute/server_tests.rb in fog-1.24.0 vs tests/fogdocker/models/compute/server_tests.rb in fog-1.25.0
- old
+ new
@@ -20,15 +20,25 @@
attributes = [ :id,
:name,
:created,
:ipaddress,
:state_running,
- :cores,
:memory,
+ :cores,
+ :cpu_shares,
:hostname,
:image,
- #:exposed_ports,
- #:volumes
+ :attach_stdin,
+ :attach_stdout,
+ :attach_stderr,
+ :state_exit_code,
+ :state_pid,
+ :port_bindings,
+ :links,
+ :privileged,
+ :tty,
+ :exposed_ports,
+ :volumes
]
tests("The server model should respond to") do
attributes.each do |attribute|
test("#{attribute}") { server.respond_to? attribute }
end