diff options
Diffstat (limited to 'share/www/script/test')
-rw-r--r-- | share/www/script/test/design_docs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js index efc2e718..e62951ac 100644 --- a/share/www/script/test/design_docs.js +++ b/share/www/script/test/design_docs.js @@ -42,7 +42,7 @@ function() { stringzone : "exports.string = 'plankton';", commonjs : { whynot : "exports.test = require('../stringzone')", - upper : "exports.testing = require('./whynot').test.string.toUpperCase()" + upper : "exports.testing = require('./whynot').test.string.toUpperCase()+module.id" } }, views: { @@ -86,7 +86,7 @@ function() { // test commonjs require var xhr = CouchDB.request("GET", "/test_suite_db/_design/test/_show/requirey"); T(xhr.status == 200); - TEquals("PLANKTON", xhr.responseText); + TEquals("PLANKTONwhatever/commonjs/upper", xhr.responseText); // test that we get design doc info back var dinfo = db.designInfo("_design/test"); |