File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ class Director < BaseResource
2323end
2424
2525class IntegerIdTestAssociationTest < MiniTest ::Test
26- def included_document_test_id_from_method_as_integer
26+
27+ def test_included_document_test_id_from_method_as_integer
2728 stub_request ( :get , 'http://example.com/movies/1?include=actor' )
2829 . to_return ( headers : { content_type : 'application/vnd.api+json' ,
2930 accept : 'application/vnd.api+json' } ,
@@ -69,7 +70,7 @@ def included_document_test_id_from_method_as_integer
6970 assert_equal ( 1 , movie . id )
7071 assert_equal ( String , movie . attributes [ :id ] . class )
7172 assert_equal ( '1' , movie . attributes [ :id ] )
72- assert_equal ( Owner , movie . actor . class )
73+ assert_equal ( Actor , movie . actor . class )
7374 assert_equal ( Integer , movie . actor . id . class )
7475 assert_equal ( 1 , movie . actor . id )
7576 assert_equal ( '1' , movie . actor . attributes [ :id ] )
You can’t perform that action at this time.
0 commit comments