Permalink
Browse files

[aws|storage] raise error for delimiter in mocks

  • Loading branch information...
1 parent ac346e9 commit 398d9bc400e3e645906390f83ec857da1a0f3c95 @geemus geemus committed Oct 20, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/fog/aws/requests/storage/get_bucket.rb
@@ -59,6 +59,9 @@ def get_bucket(bucket_name, options = {})
unless bucket_name
raise ArgumentError.new('bucket_name is required')
end
+ if options['delimiter']
+ Fog::Mock.not_implemented
+ end
response = Excon::Response.new
if bucket = @data[:buckets][bucket_name]
contents = bucket[:objects].values.sort {|x,y| x['Key'] <=> y['Key']}.reject do |object|

0 comments on commit 398d9bc

Please sign in to comment.