Permalink
Browse files

Added a cors (with bucket) item to the data has of the Storage AWS Mo…

…ck class (upon creation of the hash). This is to prevent put_bucket_cors from failing during tests.
  • Loading branch information...
1 parent a5650fd commit 916b556db5f5907f42ff0540a9a87f2bb3be1056 @epdejager epdejager committed Jan 3, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/fog/aws/storage.rb
View
5 lib/fog/aws/storage.rb
@@ -193,7 +193,10 @@ def self.data
:bucket => {},
:object => {}
},
- :buckets => {}
+ :buckets => {},
+ :cors => {
+ :bucket => {}
+ }
}
end
end

0 comments on commit 916b556

Please sign in to comment.