You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2012/10/17 13:50:02 UTC

[jira] [Created] (COUCHDB-1567) JSpec tests are completely broken

Alexander Shorin created COUCHDB-1567:
-----------------------------------------

             Summary: 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


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

[jira] [Updated] (COUCHDB-1567) JSpec tests are completely broken

Posted by "Alexander Shorin (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Closed] (COUCHDB-1567) JSpec tests are completely broken

Posted by "Alexander Shorin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin closed COUCHDB-1567.
-------------------------------------

    Resolution: Duplicate
    
> 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