Sha256: e3e9be1d08bb55dfecd4e434be5dcb6b1faef036c6c5c57d5c10d7b0e75b83be

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

require 'cases/helper'

class LintTest < ActiveModel::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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activejob-lock-0.0.2 rails/activemodel/test/cases/lint_test.rb
activejob-lock-0.0.1 rails/activemodel/test/cases/lint_test.rb