Skip to content

Commit a45fdc8

Browse files
committed
fix: minitest
1 parent 464363c commit a45fdc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/unit/integer_id_test.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ class Director < BaseResource
2323
end
2424

2525
class 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])

0 commit comments

Comments
 (0)