We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c9542 commit c510813Copy full SHA for c510813
spec/typesense/collections_spec.rb
@@ -52,7 +52,30 @@
52
end
53
54
context 'with integration', :integration do
55
- let(:integration_schema) { company_schema }
+ 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
69
70
71
+ 'name' => 'country',
72
73
+ 'facet' => true
74
+ }
75
+ ],
76
+ 'default_sorting_field' => 'num_employees'
77
78
+ end
79
80
let(:integration_client) do
81
Typesense::Client.new(
0 commit comments