diff options
author | elijah <elijah@riseup.net> | 2016-03-29 13:27:01 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-04-05 09:52:01 -0700 |
commit | eac3056c237d523f4786593922fe8f88eb65dff7 (patch) | |
tree | 4eb33d64139f65aa1444543d72fbe07dc97314ae /tests/white-box/webapp.rb | |
parent | 90e1d3ec113d2644b659fd6ed9af7d2b94393407 (diff) |
testing: adds mx delivery tests
Diffstat (limited to 'tests/white-box/webapp.rb')
-rw-r--r-- | tests/white-box/webapp.rb | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/tests/white-box/webapp.rb b/tests/white-box/webapp.rb index 2d4a51f6..68f3dcd2 100644 --- a/tests/white-box/webapp.rb +++ b/tests/white-box/webapp.rb @@ -74,8 +74,8 @@ class Webapp < LeapTest def url_options { - :username => property('couchdb_webapp_user.username'), - :password => property('couchdb_webapp_user.password') + :username => property('webapp.couchdb_webapp_user.username'), + :password => property('webapp.couchdb_webapp_user.password') } end @@ -131,18 +131,4 @@ class Webapp < LeapTest return end - # - # I tried, but couldn't get this working: - # # - # # get an CSRF authenticity token - # # - # url = api_url("/") - # csrf_token = nil - # assert_get(url) do |body| - # lines = body.split("\n").grep(/csrf-token/) - # assert lines.any?, 'failed to find csrf-token' - # csrf_token = lines.first.split('"')[1] - # assert csrf_token, 'failed to find csrf-token' - # end - end |