Module: PgAuditLogSpecHelper

Defined in:
lib/generators/pg_audit_log/templates/spec/models/pg_audit_log_spec_helper.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

EXCLUDED_CLASSES =
[ActiveRecord::Base, PgAuditLog::Entry]
EXCLUDED_COLUMNS =
["last_accessed_at"]

Instance Method Summary collapse

Instance Method Details

#included(base) ⇒ Object



5
6
7
8
# File 'lib/generators/pg_audit_log/templates/spec/models/pg_audit_log_spec_helper.rb', line 5

def included(base)
  base.include(InstanceMethods)
  base.extend(ClassMethods)
end