Sha256: 9032dafb9b33c97007389c763ef0789195b524104862036819d69e6ec5d42a64
Contents?: true
Size: 487 Bytes
Versions: 16
Compression:
Stored size: 487 Bytes
Contents
require 'test_helper' module Workarea module Api module Admin class AuditLogIntegrationTest < IntegrationTest include Workarea::Admin::IntegrationTest def test_records_changes_in_the_audit_log assert_difference 'Mongoid::AuditLog::Entry.count', 1 do product = create_product patch admin_api.product_path(product.id), params: { product: { name: 'foo' } } end end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems