updating tests to match new adapters structure

This commit is contained in:
João Moura
2015-06-15 13:39:36 -03:00
parent 2e46507971
commit 1ea5608e78
17 changed files with 49 additions and 43 deletions

View File

@@ -22,7 +22,8 @@ module ActiveModel
def as_json(options = {})
hash = serializable_hash(options)
include_meta(hash)
include_meta(hash) unless self.class == FlattenJson
hash
end
def self.create(resource, options = {})