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

Fix search and unit tests #28

Merged
merged 2 commits into from
May 9, 2015
Merged

Fix search and unit tests #28

merged 2 commits into from
May 9, 2015

Conversation

dshiga
Copy link
Contributor

@dshiga dshiga commented May 8, 2015

Searches on owner, documentation, synopsis, and payload were failing. I changed the order of fields in AgoraSearch to match those in AgoraEntity and it is now working.

I also fixed the unit tests in ApiServiceSpec. They were erroneously passing because we had statements using === but not wrapped in assert(). So even if the === statements return false, the tests would pass.

Lastly, I added additional unit tests to verify search on owner, documentation, synopsis, and payload.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.8% when pulling b5936d0 on fix_unit_tests into 0e0d6d9 on master.

@dshiga dshiga changed the title Fix unit tests Fix search and unit tests May 8, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.8% when pulling 8c14dfe on fix_unit_tests into 0e0d6d9 on master.

@jacarey
Copy link

jacarey commented May 9, 2015

Looks good. I'm going to merge this so I can start the rebase of the refactor pull request which is bound to get hairy

jacarey added a commit that referenced this pull request May 9, 2015
@jacarey jacarey merged commit 5de522f into master May 9, 2015
@jacarey jacarey deleted the fix_unit_tests branch May 9, 2015 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants