summaryrefslogtreecommitdiff
path: root/tests/white-box/couchdb.rb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-09-17 11:09:30 +0200
committervarac <varacanero@zeromail.org>2014-09-17 11:09:30 +0200
commit171fc59783a10dc341c435f47313271b89a12c0d (patch)
tree8d8b27ffeeb6f0ba240d3f6126532f34c4071770 /tests/white-box/couchdb.rb
parent0b2ca55ddb9cfdd9e796c44a8e607d3045d2a2ae (diff)
disable ACL enforcement, because it's a known issue with bigcouch
otherwise it will only confuse the user see https://leap.se/code/issues/6030 for more details
Diffstat (limited to 'tests/white-box/couchdb.rb')
-rw-r--r--tests/white-box/couchdb.rb30
1 files changed, 17 insertions, 13 deletions
diff --git a/tests/white-box/couchdb.rb b/tests/white-box/couchdb.rb
index 6d3a7452..a5adb2bf 100644
--- a/tests/white-box/couchdb.rb
+++ b/tests/white-box/couchdb.rb
@@ -93,20 +93,24 @@ class CouchDB < LeapTest
pass
end
+ # disable ACL enforcement, because it's a known issue with bigcouch
+ # and will only confuse the user
+ # see https://leap.se/code/issues/6030 for more details
#
- # for now, this just prints warnings, since we are failing these tests.
- #
- def test_06_Is_ACL_enforced?
- ok = assert_auth_fail(
- couchdb_url('/users/_all_docs', :user => 'leap_mx'),
- {:limit => 1}
- )
- ok = assert_auth_fail(
- couchdb_url('/users/_all_docs', :user => 'leap_mx'),
- {:limit => 1}
- ) && ok
- pass if ok
- end
+ ## for now, this just prints warnings, since we are failing these tests.
+ ##
+
+ #def test_06_Is_ACL_enforced?
+ # ok = assert_auth_fail(
+ # couchdb_url('/users/_all_docs', :user => 'leap_mx'),
+ # {:limit => 1}
+ # )
+ # ok = assert_auth_fail(
+ # couchdb_url('/users/_all_docs', :user => 'leap_mx'),
+ # {:limit => 1}
+ # ) && ok
+ # pass if ok
+ #end
def test_07_What?
pass