@@ -1437,10 +1437,10 @@ def test_show_has_one_relationship_nil
14371437
14381438class TagsControllerTest < ActionController ::TestCase
14391439 def test_tags_index
1440- get :index , { filter : { id : '6,7,8,9' } , include : 'posts,posts .tags,posts.author.posts' }
1440+ get :index , { filter : { id : '6,7,8,9' } , include : 'posts.tags,posts.author.posts' }
14411441 assert_response :success
14421442 assert_equal 4 , json_response [ 'data' ] . size
1443- assert_equal 2 , json_response [ 'included' ] . size
1443+ assert_equal 3 , json_response [ 'included' ] . size
14441444 end
14451445
14461446 def test_tags_show_multiple
@@ -1450,7 +1450,7 @@ def test_tags_show_multiple
14501450 end
14511451
14521452 def test_tags_show_multiple_with_include
1453- get :show , { id : '6,7,8,9' , include : 'posts,posts .tags,posts.author.posts' }
1453+ get :show , { id : '6,7,8,9' , include : 'posts.tags,posts.author.posts' }
14541454 assert_response :bad_request
14551455 assert_match /6,7,8,9 is not a valid value for id/ , response . body
14561456 end
0 commit comments