Merge pull request #1272 from bf4/add_public_poro_base

Add PORO serializable base class: ActiveModelSerializers::Model
This commit is contained in:
Benjamin Fleischer
2015-10-20 12:50:05 -05:00
10 changed files with 85 additions and 43 deletions

View File

@@ -54,7 +54,7 @@ module ActiveModel
assert_equal key, :tags
assert_equal serializer, nil
assert_equal [{ attributes: { name: '#hashtagged' } }].to_json, options[:virtual_value].to_json
assert_equal [{ name: '#hashtagged' }].to_json, options[:virtual_value].to_json
end
end