Module: RailsAuditLog::Matchers
- Defined in:
- lib/rails_audit_log/matchers.rb
Defined Under Namespace
Classes: CreateAuditLogEntry, HaveAuditLogEntry
Instance Method Summary
collapse
Instance Method Details
#create_audit_log_entry(event: nil, touching: nil) ⇒ Object
7
8
9
|
# File 'lib/rails_audit_log/matchers.rb', line 7
def create_audit_log_entry(event: nil, touching: nil)
CreateAuditLogEntry.new(event: event, touching: touching)
end
|
#have_audit_log_entry(event = nil) ⇒ Object
3
4
5
|
# File 'lib/rails_audit_log/matchers.rb', line 3
def have_audit_log_entry(event = nil)
HaveAuditLogEntry.new(event)
end
|