1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Wesley Beary
09e952b665 allow put_object to take a file or a string for its data argument 2009-09-08 20:33:37 -07:00
Wesley Beary
b23594254c Fix s3 mocking behaviours:
1) delete_bucket should raise a 409 if the bucket is not empty
2) (get/put)_object should have 'Content-Type' headers
2009-09-02 20:15:32 -07:00
Wesley Beary
962169950a keep mocked data on class (new instances will share data) and provide reset_data function 2009-08-17 22:39:44 -07:00
Wesley Beary
dae13d496c custom error classes, specs for error expectations and mocks raise errors 2009-08-16 13:31:36 -07:00
Wesley Beary
12a570fa50 change s3 mocks data hash to more workable format 2009-08-16 11:45:52 -07:00
Wesley Beary
1f6df7083f formatting cleanup 2009-08-16 11:44:50 -07:00
Wesley Beary
019979a908 better mocked values 2009-08-14 09:18:55 -07:00
Wesley Beary
4d327641d9 more realistic mock etags, handle preconditions in s3 get_object mock 2009-08-12 21:13:55 -07:00
Wesley Beary
5a156e5a0b fleshing out existing mocks and adding basic object mocks 2009-08-08 12:31:32 -07:00
Wesley Beary
b6085bd369 AmazonCase s3 2009-07-29 19:50:51 -07:00
Wesley Beary
4cdaed941d update optional params parsing for s3 2009-07-28 21:23:28 -07:00
Wesley Beary
daf8c9b131 stuff for optional params 2009-07-27 22:53:51 -07:00
Wesley Beary
4c92ee236e doc work 2009-07-20 19:47:48 -07:00
Wesley Beary
a6ec973792 get expected status code or raise errors 2009-07-14 16:04:39 -07:00
Wesley Beary
dbc9ebfb04 split out requests into their own files 2009-07-13 19:14:59 -07:00