зеркало из https://github.com/github/fog.git
Replace Fog::Time with Time
For some reason, our tests are now returning regular Time objects in both Real and Mock mode.
This commit is contained in:
Родитель
2186bf73ef
Коммит
eef9a6c630
|
@ -29,8 +29,8 @@ Shindo.tests('Compute::VcloudDirector | tasks', ['vclouddirector']) do
|
|||
tests('#id').returns(String) { task.id.class }
|
||||
tests('#name').returns(String) { task.name.class }
|
||||
tests('#status').returns(String) { task.status.class }
|
||||
tests('#end_time').returns(Fog::Time) { task.end_time.class }
|
||||
tests('#expiry_time').returns(Fog::Time) { task.expiry_time.class }
|
||||
tests('#end_time').returns(Time) { task.end_time.class }
|
||||
tests('#expiry_time').returns(Time) { task.expiry_time.class }
|
||||
tests('#operation').returns(String) { task.operation.class }
|
||||
tests('#operation_name').returns(String) { task.operation_name.class }
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче