4c20825457
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
21 lines
325 B
Ruby
21 lines
325 B
Ruby
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
|