Sha256: 9aa6b657658d25e808ce5b287a0e8a548ff636158cfb8327819ae26a756d0138
Contents?: true
Size: 468 Bytes
Versions: 11
Compression:
Stored size: 468 Bytes
Contents
require "spec_helper" describe Shamu::Auditing::LoggingAuditingService do let( :service ) { scorpion.new Shamu::Auditing::LoggingAuditingService } it "writes to the logger" do expect( service.logger ).to receive( :unknown ) transaction = Shamu::Auditing::Transaction.new \ user_id_chain: [1, 2, 3], action: :change, changes: { name: "Mr Penguin" } transaction.append_entity [ "User", 45 ] service.commit transaction end end
Version data entries
11 entries across 11 versions & 1 rubygems