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

Fixes #5, Updated EmailValidations#query #10

Merged
merged 4 commits into from
Jun 23, 2017

Conversation

pramodshinde
Copy link
Contributor

  • This was not refreshing response after first initialization in #verify method

- This was not refreshing response after first initialization in #verify method
@RobertoSchneiders
Copy link
Contributor

I agree with the implementation, but, you haven't wrote a test to this new behavior.

I think we need a test that guarantees that the query method refresh the data from the api until it completes.

@pramodshinde
Copy link
Contributor Author

@RobertoSchneiders Agree working on it.

@RobertoSchneiders
Copy link
Contributor

👍

@pramodshinde
Copy link
Contributor Author

@RobertoSchneiders - Does this looks good?


context "will refresh data - on consecutive calls" do
let(:incompleted_query) do
{ "progress"=> { "noOfTotalEntries" => 0, "noOfCompletedEntries" => 1 } }
Copy link
Contributor

Choose a reason for hiding this comment

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

should be

{ "progress"=> { "noOfTotalEntries" => 1, "noOfCompletedEntries" => 0 } }

@RobertoSchneiders RobertoSchneiders mentioned this pull request Nov 19, 2015
@pramodshinde
Copy link
Contributor Author

@RobertoSchoneiders - Thank you for such a wonderful feedback

I will update and test specs as you suggested.

@RobertoSchneiders
Copy link
Contributor

👍

@RobertoSchneiders
Copy link
Contributor

👍

Thank you @pramodshinde for your contribution. I will leave this PR open for a while, I hope @verifalia review this too.

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.

None yet

2 participants