algolia / algolia/algoliasearch-client-ruby

README: Add instructions for how to mock/test code that use Algolia

Open
#505 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
172
Forks
73
PR merge metrics
No merged PRs in 30d

Description

In v1 of this gem there was a webmock configuration that you could just require.
That was removed in v2 ([c88b821a951d9b685e47dd6ca369f352b2a3e7dd](https://github.com/algolia/algoliasearch-client-ruby/commit/c88b821a951d9b685e47dd6ca369f352b2a3e7dd#diff-e94049b5c116ff2473c66f6fe8fc7da3b7ce3395b5e9d9257cab9348873b0f9e))

I have done as suggested in https://github.com/algolia/algoliasearch-rails/issues/398#issuecomment-978722349 and copied the MockRequester from this repos testing suite.

It would be nice if the README contained hints for how to test code using it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.