Skip to content

Add test option and queue for easier testing#222

Merged
pooyaj merged 2 commits into
segmentio:masterfrom
ryanwjackson:master
Apr 12, 2021
Merged

Add test option and queue for easier testing#222
pooyaj merged 2 commits into
segmentio:masterfrom
ryanwjackson:master

Conversation

@ryanwjackson

Copy link
Copy Markdown
Contributor

Currently, we need to manually stub and override various functions within the gem to make it possible to test in rspec. This PR adds that functionality as an option to the gem itself. Perhaps also helpful, but not included here, would be some spec helpers for analytics (which we also have developed ourselves). Appreciate any feedback!

@ryanwjackson

Copy link
Copy Markdown
Contributor Author

@rohitpaulk I see you are a major contributor here, and I was hoping to get some feedback on this update. Thanks!

@nd4p90x

nd4p90x commented Mar 26, 2021

Copy link
Copy Markdown
Collaborator

@ryanwjackson Do you mind rebasing this branch with master? Once that is complete I will re-review the PR. Thank you.

@ryanwjackson

Copy link
Copy Markdown
Contributor Author

@nd4p90x just rebased.

@nd4p90x

nd4p90x commented Apr 8, 2021

Copy link
Copy Markdown
Collaborator

@ryanwjackson Thanks for the rebase, however, all of the test cases are failing due to the use of double quotes on all of the variables. Could you modify the tests and update the variables to be encapsulated by single quotes as to pass the ci tests? Thank you.

@ryanwjackson

Copy link
Copy Markdown
Contributor Author

@nd4p90x just updated.

@nd4p90x nd4p90x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for the updates

@nd4p90x
nd4p90x requested a review from pooyaj April 12, 2021 15:19
@pooyaj
pooyaj merged commit b91d435 into segmentio:master Apr 12, 2021
@ryanwjackson

Copy link
Copy Markdown
Contributor Author

@nd4p90x do you know when this will get released?

@nd4p90x

nd4p90x commented Apr 13, 2021

Copy link
Copy Markdown
Collaborator

@ryanwjackson the PR has been merged into the master branch, is that what you are referring to? Thanks.

@ryanwjackson

Copy link
Copy Markdown
Contributor Author

@nd4p90x I meant when a new gem version will be released that includes this update.

@nd4p90x

nd4p90x commented Apr 13, 2021

Copy link
Copy Markdown
Collaborator

@ryanwjackson Ah, sorry for the confusion working on that now.

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.

4 participants