test/cases/spec_s3_object.rb in s33r-0.5.3 vs test/cases/spec_s3_object.rb in s33r-0.5.4
- old
+ new
@@ -32,32 +32,16 @@
specify 'can be associated with bucket on creation' do
@s3obj2.bucket.name.should == 'quotes'
end
- specify 'can be created from a file' do
- todo
- end
-
specify 'should treat the owner as an object in his/her own right' do
[@s3obj.owner.user_id, @s3obj.owner.display_name].should == \
['56efddfead5aa65da942f156fb2b294f44d78fd932d701331edc5fba19620fd4', 'elliotsmith3']
@s3obj.owner.should_be_instance_of S3ACL::CanonicalUser
end
-
- specify 'can be saved' do
- todo
- end
- specify 'can be renamed' do
- todo
- end
-
- specify 'can be deleted' do
- todo
- end
-
specify 'should return authenticated URL' do
@s3obj2.url(:authenticated => true, :expires => 1141889120).should == @correct_authenticated_url
end
specify 'should return public URL' do
@@ -69,6 +53,6 @@
end
specify 'should optionally return URL with domain name set to bucket name' do
@s3obj2.url(:subdomain => true).should == @correct_public_url_with_subdomain
end
-end
\ No newline at end of file
+end