Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: e0cba3a0fa
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.325 kb
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
Jump to Line
Something went wrong with that request. Please try again.