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

exploding va_rx gem into vets-api -- with minor refactor #88

Merged
merged 8 commits into from
Sep 13, 2016

Conversation

saneshark
Copy link
Contributor

No description provided.


# FIXME: Add this spec
describe Common::Base do
end
Copy link
Contributor

Choose a reason for hiding this comment

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

did you forget to do this or are you going to add it in another pr?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it will be in a separate PR. Currently have close to 100% coverage, but it's based off of Prescriptions. I think it should be more generic than that, but didn't want to spend umpteen hours rewriting specs when it's already at 100%

@kreek
Copy link
Contributor

kreek commented Sep 13, 2016

Other than @lihanli 's comment LGTM

@lihanli
Copy link
Contributor

lihanli commented Sep 13, 2016

👍

def <=>(other)
return -1 if prescription_id < other.prescription_id
return 1 if prescription_id > other.prescription_id
0
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this be shortened to prescription_id <=> other.prescription_id?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe... (it should) let me test that out really quick -- will make similar change for tracking if its the case.

@saneshark saneshark merged commit 7e42700 into master Sep 13, 2016
@saneshark saneshark deleted the explode_varx_gem_into_lib branch September 13, 2016 18:34
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

4 participants