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

Broken spec in custom_view_spec [Patch included] #15

Closed
galaxycats opened this issue Feb 10, 2010 · 4 comments
Closed

Broken spec in custom_view_spec [Patch included] #15

galaxycats opened this issue Feb 10, 2010 · 4 comments

Comments

@galaxycats
Copy link

There is a broken spec in the custom_view_spec, due to a typo in the map function. A fix can be found at http://github.com/railsbros/couch_potato/commit/d55e06403645172445c3402859d00738755bf290.

@langalex
Copy link
Owner

hm, all my specs are passing (107 + 101 specs). which couchdb version are you using?

@galaxycats
Copy link
Author

okay, the spec failed while running the specs against the Validatable validation framework. I'm using CouchDBX, Version 0.11.0b907769. The message I've got was

 'view map function given additional reduce function given should still assign the id'
 FAILED
 expected: ["79d1336b06069c6c7680fda072151b33"],
 got: [nil, "79d1336b06069c6c7680fda072151b33"] (using ==)

I have couchrest in version 0.34 installed and json in version 1.2.0.

@langalex
Copy link
Owner

looks like couchdb 0.11.x behaves differently from 0.10 - will confirm this with someone from the couchdb team

@langalex
Copy link
Owner

langalex commented Apr 7, 2010

fixed in 0.2.30

This issue was closed.
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

No branches or pull requests

1 participant