ember-couchdb-kit fails all Jasmine specs

江枫思渺然 提交于 2019-12-11 06:55:52

问题


I'm trying to use the ember-couchdb-kit adapter built by roundscope, but it's not working as expected.

When I follow the instruction to rake jasmine, it fails all 20 specs, all with the same error,

timeout: timed out after 3000 msec waiting for model should be saved

(or something closely related to that)

Also, my couchdb terminal shows errors like this:

[info] [<0.171.0>] 127.0.0.1 - - OPTIONS /doc 404

Here's a pastebin for every output given by couchdb after the spec is run.

I've set this all up just as a js directory as specified in the docs:

An ember-couchdb-kit ships both with compiled js assets and coffee sources. Compiled assets plased in dist/**.js folder.

and suggested to me in this SO question

Any advice? Have I not configured things properly?

Edit. I created a doc database, and then half of the log errors went away, the ones saying doc.couch didn't exist, but everything else remained the same.

来源:https://stackoverflow.com/questions/19665625/ember-couchdb-kit-fails-all-jasmine-specs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!