Skip to content

Commit c510813

Browse files
committed
Revert integration schema
1 parent e7c9542 commit c510813

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

spec/typesense/collections_spec.rb

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,30 @@
5252
end
5353

5454
context 'with integration', :integration do
55-
let(:integration_schema) { company_schema }
55+
let(:integration_schema) do
56+
{
57+
'name' => 'companies',
58+
'num_documents' => 0,
59+
'fields' => [
60+
{
61+
'name' => 'company_name',
62+
'type' => 'string',
63+
'facet' => false
64+
},
65+
{
66+
'name' => 'num_employees',
67+
'type' => 'int32',
68+
'facet' => false
69+
},
70+
{
71+
'name' => 'country',
72+
'type' => 'string',
73+
'facet' => true
74+
}
75+
],
76+
'default_sorting_field' => 'num_employees'
77+
}
78+
end
5679

5780
let(:integration_client) do
5881
Typesense::Client.new(

0 commit comments

Comments
 (0)