blob: 4b1e32d506b2bcd9834438b12e611b5fa2de69cc (
plain) (
tree)
|
|
# frozen_string_literal: true
require "cases/helper"
class LintTest < ActiveSupport::TestCase
include ActiveModel::Lint::Tests
class CompliantModel
extend ActiveModel::Naming
include ActiveModel::Conversion
def persisted?() false end
def errors
Hash.new([])
end
end
def setup
@model = CompliantModel.new
end
end
|