lib/fog/storage/requests/aws/get_bucket_acl.rb in fog-0.8.1 vs lib/fog/storage/requests/aws/get_bucket_acl.rb in fog-0.8.2
- old
+ new
@@ -48,10 +48,10 @@
class Mock # :nodoc:all
def get_bucket_acl(bucket_name)
response = Excon::Response.new
- if acl = @data[:acls][:bucket][bucket_name]
+ if acl = self.data[:acls][:bucket][bucket_name]
response.status = 200
response.body = acl
else
response.status = 404
raise(Excon::Errors.status_error({:expects => 200}, response))