test/cases/spec_logging.rb in s33r-0.5.3 vs test/cases/spec_logging.rb in s33r-0.5.4
- old
+ new
@@ -27,21 +27,21 @@
specify 'should generate BucketLoggingStatus XML document to disable logging' do
clean_xml(@logging_resource_to_disable.to_xml).should == @logging_disabled_xml
end
specify 'should represent LogDelivery grants so buckets can act as logging targets' do
- @logging_acl_doc.grants.should.include @log_delivery_write
- @logging_acl_doc.grants.should.include @log_delivery_read_acl
+ @logging_acl_doc.grants.should include @log_delivery_write
+ @logging_acl_doc.grants.should include @log_delivery_read_acl
end
specify 'should be able to report whether an ACL indicates bucket is a logging target' do
- @logging_acl_doc.log_targetable?.should.be true
+ @logging_acl_doc.log_targetable?.should be true
# check the variant where the grants have been removed
- @logging_acl_doc_no_grants.log_targetable?.should.be false
+ @logging_acl_doc_no_grants.log_targetable?.should be false
end
specify 'should be able to simply add logging target grants to an ACL' do
@logging_acl_doc_no_grants.add_log_target_grants
clean_xml(@logging_acl_doc_no_grants.to_xml).should == @logging_acl_xml
end
-end
\ No newline at end of file
+end