1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

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:
Mike Pountney 2014-09-23 22:41:22 +01:00
parent 2186bf73ef
commit eef9a6c630

View file

@ -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