test/cases/spec_logging.rb in s33r-0.5.2 vs test/cases/spec_logging.rb in s33r-0.5.3

- old
+ new

@@ -19,15 +19,15 @@ @logging_acl_doc_no_grants = Policy.from_xml(@logging_acl_xml) @logging_acl_doc_no_grants.grants.delete_if { |g| @log_delivery_write == g or @log_delivery_read_acl == g } end specify 'should generate BucketLoggingStatus XML document to enable logging' do - clean_xml(@logging_resource_to_enable.to_xml).should.equal @logging_enabled_xml + clean_xml(@logging_resource_to_enable.to_xml).should == @logging_enabled_xml end specify 'should generate BucketLoggingStatus XML document to disable logging' do - clean_xml(@logging_resource_to_disable.to_xml).should.equal @logging_disabled_xml + 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 @@ -40,8 +40,8 @@ @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.equal @logging_acl_xml + clean_xml(@logging_acl_doc_no_grants.to_xml).should == @logging_acl_xml end end \ No newline at end of file