Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webmock): add webmock #420

Closed
wants to merge 3 commits into from
Closed

feat(webmock): add webmock #420

wants to merge 3 commits into from

Conversation

chloelbn
Copy link

Q A
Bug fix? no
New feature? yes
BC breaks? no

Describe your change

Adds back the Webmock class

@chloelbn chloelbn requested a review from DevinCodes September 24, 2020 16:40
Copy link

@DevinCodes DevinCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks fine to me, but I left a question/comment 🙂 Let me know what you think!

lib/algolia/webmock.rb Outdated Show resolved Hide resolved
@chloelbn chloelbn requested a review from DevinCodes September 25, 2020 15:39
Copy link

@DevinCodes DevinCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change, other than that it looks good to me! 🚀

lib/algolia.rb Outdated
@@ -36,6 +36,7 @@
require 'algolia/error'
require 'algolia/search_index'
require 'algolia/logger_helper'
require 'algolia/webmock'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I we add this here, we require it by default every time, instead of letting the user decide when to include it 🙂

Suggested change
require 'algolia/webmock'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants