test/lint_test.rb in cheap_ams-0.10.5 vs test/lint_test.rb in cheap_ams-0.10.6
- old
+ new
@@ -5,40 +5,33 @@
class LintTest < Minitest::Test
include ActiveModel::Serializer::Lint::Tests
class CompliantResource
def serializable_hash(options = nil)
-
end
def read_attribute_for_serialization(name)
-
end
def as_json(options = nil)
-
end
def to_json(options = nil)
-
end
def cache_key
-
end
def id
-
end
def self.model_name
@_model_name ||= ActiveModel::Name.new(self)
end
end
def setup
@resource = CompliantResource.new
end
-
end
end
end