Commit 741a4ff
fix(test): bump local Typesense image to 30.1
The integration spec at `spec/typesense/collections_spec.rb:156` expects
each field in the create-collection response to include `truncate_len`,
which was added to Typesense's field schema response in v30.x. The local
`docker-compose.yml` was still pinned to `typesense/typesense:29.0`, so
the spec failed locally with the field missing from the actual response:
Failure/Error: expect(result['fields']).to eq(expected_fields)
Diff: - "truncate_len" => 100,
The README's compatibility table already states typesense-ruby v5.0.0
supports Typesense >= v30.0, and CI runs against v30, so this just
realigns local development with the gem's stated server compatibility.
After the bump:
- `bundle exec rspec` reports 151 examples, 0 failures, 16 pending
(down from 27 pending; 11 specs that were skipped against Typesense
29 are now exercised against 30.1).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f33f224 commit 741a4ff
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments