David Bishop
62256219f4
Modernize various tests to Ruby 2.x syntax
...
Also fix up various things that rubocop called out, though not
everything. Mostly whitespace fixes, changing double-quotes to single if
double wasn't required, changing to use ruby 2.x hash syntax where
possible, etc. While tests don't run, they are no more broken than
before (at least, as far as I can tell).
2018-10-16 16:12:42 -06:00
sue445
d9d9d2f97f
git grep -l "Compute::AWS" -- tests/ | xargs sed -i "" "s/Compute::AWS/AWS::Compute/g"
2018-09-17 23:02:03 +09:00
Vlad Yarotsky
e85c2c9d0f
Ruby 1.8 compat
2017-06-30 13:26:34 -07:00
Vlad Yarotsky
0f785006a3
Fix AWS credential mocking
...
The change introduced in #252 does not actually prevent HTTP requests
from being made because of a missing early return statement.
2017-06-30 13:13:11 -07:00
Ryan Schlesinger
ecfc0a2905
ECS container credentials
2016-07-26 09:03:04 -07:00
Shai Rosenfeld
cc2c36ede9
stub 404 as well
2016-06-29 17:18:22 -07:00
Shai Rosenfeld
6d613eeefb
make sure to mock tests for region in use_iam_profile
2016-06-29 15:33:10 -07:00
Shai Rosenfeld
84315d9d31
ensure to put back mocking state to unmocked if it was real prior
2016-05-19 10:47:05 -07:00
Shai Rosenfeld
4e0b572092
use fog memory mocks for the test case.
...
excon stubs are good documentation and actually more code coverage
so will to keep what is already in case of later use.
2016-05-18 11:55:36 -07:00
Josh Lane
dcfd354b8a
working tests
2015-01-02 09:42:20 -08:00
Josh Lane
d48d376e9c
initial import
...
* take the liberty of correcting Aws naming
2014-12-31 09:17:51 -08:00