mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Tested handling of Openstack server created and updated times
This commit is contained in:
parent
ecaf7368c3
commit
d8074357c6
2 changed files with 6 additions and 2 deletions
|
@ -67,7 +67,9 @@ module Fog
|
|||
'accessIPv4' => options['accessIPv4'] || "",
|
||||
'accessIPv6' => options['accessIPv6'] || "",
|
||||
'progress' => 0,
|
||||
'status' => 'BUILD'
|
||||
'status' => 'BUILD',
|
||||
'created' => '2012-09-27T00:04:18Z',
|
||||
'updated' => '2012-09-27T00:04:27Z',
|
||||
}
|
||||
|
||||
self.data[:last_modified][:servers][data['id']] = Time.now
|
||||
|
|
|
@ -12,7 +12,9 @@ Shindo.tests('Fog::Compute[:openstack] | server requests', ['openstack']) do
|
|||
'status' => String,
|
||||
'accessIPv4' => Fog::Nullable::String,
|
||||
'accessIPv6' => Fog::Nullable::String,
|
||||
'links' => Array
|
||||
'links' => Array,
|
||||
'created' => String,
|
||||
'updated' => String
|
||||
}
|
||||
|
||||
@image_format = {
|
||||
|
|
Loading…
Add table
Reference in a new issue