mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
43c4531763
The Rackspace helper changed the Fog.timeout global for all live tests so the core test which expected "600" failed since it was now "2000" Since it is a global setting it has been moved to the global test helper It can now also be controlled by the FOG_TEST_TIMEOUT env variable.
10 lines
202 B
Ruby
10 lines
202 B
Ruby
Shindo.tests('Fog#timeout', 'core') do
|
|
tests('timeout').returns(FOG_TESTING_TIMEOUT) do
|
|
Fog.timeout
|
|
end
|
|
|
|
tests('timeout = 300').returns(300) do
|
|
Fog.timeout = 300
|
|
Fog.timeout
|
|
end
|
|
end
|