couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to f199df6
Date Mon, 23 Mar 2015 01:56:27 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master e87abf448 -> f199df6d9


tests: fix description for test

the test tests that the right api-url is returned (no relative
url for the app, but an absolute for the url)

PR: #320
PR-URL: https://github.com/apache/couchdb-fauxton/pull/320
Reviewed-By: garren smith <garren.smith@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/2ab01436
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/2ab01436
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/2ab01436

Branch: refs/heads/master
Commit: 2ab01436a1f47773a96fe6c9a1b80fb003c85fe7
Parents: e87abf4
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Tue Mar 17 13:47:05 2015 +0100
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Mar 23 02:55:33 2015 +0100

----------------------------------------------------------------------
 app/addons/documents/tests/resourcesSpec.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2ab01436/app/addons/documents/tests/resourcesSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/resourcesSpec.js b/app/addons/documents/tests/resourcesSpec.js
index 5f87fd3..ed0d73c 100644
--- a/app/addons/documents/tests/resourcesSpec.js
+++ b/app/addons/documents/tests/resourcesSpec.js
@@ -31,9 +31,9 @@ define([
       });
     });
 
-    it('does not remove an id attribute', function () {
+    it('creates the right api-url with an absolute url', function () {
 
-      assert.ok(/file:/.test(collection.urlRef('')));
+      assert.ok(/file:/.test(collection.urlRef()));
     });
 
   });


Mime
View raw message