This commit is contained in:
Benjamin Fleischer
2015-06-21 02:55:07 -05:00
committed by João Moura
parent 3710c32cee
commit cf77786da2
4 changed files with 40 additions and 13 deletions

View File

@@ -69,7 +69,9 @@ module ActiveModel
def test_has_many_with_no_serializer
PostWithTagsSerializer.new(@post).each_association do |name, serializer, options|
puts "The line above will crash this test"
assert_equal name, :tags
assert_equal serializer, nil
assert_equal options, {:virtual_value=>[{"attributes"=>{"name"=>"#hashtagged"}}]}
end
end