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:
parent
0f785006a3
commit
e85c2c9d0f
1 changed files with 4 additions and 4 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue