Skip to content

Commit

Permalink
Ruby 1.8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Yarotsky committed Jun 30, 2017
1 parent 0f78500 commit e85c2c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/credentials_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
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!
Expand Down

0 comments on commit e85c2c9

Please sign in to comment.