1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/aws/models/storage
Jonas Pfenniger f36a3065a9 AWS | storage: fixes ignored location with new buckets
When creating a new directory the location wasn't forwarded properly.

Something like the following is now working as expected (see limitation below):

    Fog::Storage[:aws].directories.create(key: 'bucket', location: 'us-west-1')

It also changes the following behaviour: when no location is specified new
buckets are explicitly created in the same region as the service connection.

Known limitations:

Fog::AWS::Directory instance don't use their location to connect to S3.

If you're using an AWS::Storage with a region different than us-east-1 you
can only create buckets in the same region.
2013-04-16 23:28:04 +01:00
..
directory_tests.rb AWS | storage: fixes ignored location with new buckets 2013-04-16 23:28:04 +01:00
file_tests.rb AWS | storage: add more uniq_id in the tests to avoid collisions 2013-04-16 23:28:04 +01:00
files_tests.rb AWS | storage: disabling broken tests 2013-04-16 23:28:04 +01:00
url_tests.rb [AWS] Create the time directly in tests, avoids using a method not present in 1.8.7 2012-09-02 13:17:12 +01:00
version_tests.rb AWS | storage: add more uniq_id in the tests to avoid collisions 2013-04-16 23:28:04 +01:00
versions_tests.rb AWS | storage: add more uniq_id in the tests to avoid collisions 2013-04-16 23:28:04 +01:00