Skip to content

Commit a021ffb

Browse files
chore(internal): codegen related update
1 parent ac937c1 commit a021ffb

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

test/finch_api/resources/hris/directory_test.rb

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,13 @@ def test_list_individuals
3434
response = @finch.hris.directory.list_individuals
3535

3636
assert_pattern do
37-
response => FinchAPI::Internal::IndividualsPage
38-
end
39-
40-
row = response.to_enum.first
41-
return if row.nil?
42-
43-
assert_pattern do
44-
row => FinchAPI::HRIS::IndividualInDirectory
37+
response => FinchAPI::UnnamedTypeWithNoPropertyInfoOrParent0
4538
end
4639

4740
assert_pattern do
48-
row => {
49-
id: String,
50-
department: FinchAPI::HRIS::IndividualInDirectory::Department | nil,
51-
first_name: String | nil,
52-
is_active: FinchAPI::Internal::Type::Boolean | nil,
53-
last_name: String | nil,
54-
manager: FinchAPI::HRIS::IndividualInDirectory::Manager | nil,
55-
middle_name: String | nil
41+
response => {
42+
individuals: ^(FinchAPI::Internal::Type::ArrayOf[FinchAPI::HRIS::IndividualInDirectory]),
43+
paging: FinchAPI::Paging
5644
}
5745
end
5846
end

0 commit comments

Comments
 (0)