couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1567) JSpec tests are completely broken
Date Wed, 17 Oct 2012 11:56:03 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Shorin updated COUCHDB-1567:
--------------------------------------

    Attachment: COUCHDB-1567-1.patch

During chat with Samuel Williams and JSpec, RSpec and everything, he proposed next solution:

Samuel Williams, 17.10.2012 11:58:26:
I can't see any definition for prepareUserDoc

Samuel Williams, 11:59:21:
This file has it

Samuel Williams, 11:59:25:
couchdb/share/www/script/couch_test_runner.js at master · apache/couchdb · GitHub <https://github.com/apache/couchdb/blob/master/share/www/script/couch_test_runner.js>

Samuel Williams, 11:59:32:
at the end line 462 prepareUserDoc

Samuel Williams, 12:00:18:
add

Samuel Williams, 12:00:55:
<script src="../script/couch_test_runner.js"></script> after line 23

Samuel Williams, 12:00:58:
it should work if you do that

                
> JSpec tests are completely broken
> ---------------------------------
>
>                 Key: COUCHDB-1567
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1567
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 1.2, 1.3
>            Reporter: Alexander Shorin
>         Attachments: COUCHDB-1567-1.patch
>
>
> JSpect tests runner by url: http://localhost:5984/_utils/spec/run.html
> doesn't do anything due to next error:
> Error in hook 'before_each', suite 'CouchDB class session stuff': TypeError: CouchDB.prepareUserDoc
is not a function

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message