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

Ruby 1.8 compat

This commit is contained in:
Vlad Yarotsky 2017-06-30 13:26:34 -07:00
parent 0f785006a3
commit e85c2c9d0f

View file

@ -66,10 +66,10 @@ Shindo.tests('AWS | credentials', ['aws']) do
end
mocked_credentials = {
aws_access_key_id: "access-key-id",
aws_secret_access_key: "secret-access-key",
aws_session_token: "session-token",
aws_credentials_expire_at: Time.at(Time.now.to_i + 500).xmlschema
:aws_access_key_id => "access-key-id",
:aws_secret_access_key => "secret-access-key",
:aws_session_token => "session-token",
:aws_credentials_expire_at => Time.at(Time.now.to_i + 500).xmlschema
}
tests("#fetch_credentials when mocking") do
Fog.mock!