summaryrefslogtreecommitdiff
path: root/tests/helpers/bonafide_helper.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-12-17 16:22:29 -0800
committerelijah <elijah@riseup.net>2014-12-17 16:22:29 -0800
commitb49fc6c4a864c6e42a4fd4deae25c0ab2eb564ea (patch)
tree896ba1487d395cc15e14c8176846019a05de69cd /tests/helpers/bonafide_helper.rb
parent25569d4598d86c6b992c35d8bbede8510483cdc6 (diff)
tests: don't run soledad test if there are no soledad nodes
Diffstat (limited to 'tests/helpers/bonafide_helper.rb')
-rw-r--r--tests/helpers/bonafide_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/bonafide_helper.rb b/tests/helpers/bonafide_helper.rb
index faf8c1f4..9b26eaaf 100644
--- a/tests/helpers/bonafide_helper.rb
+++ b/tests/helpers/bonafide_helper.rb
@@ -34,7 +34,7 @@ class LeapTest
url = api_url("/1/users.json")
assert_post(url, user.to_params) do |body|
assert response = JSON.parse(body), 'response should be JSON'
- assert response['ok'], 'creating a user should be successful'
+ assert response['ok'], "Creating a user should be successful, got #{response.inspect} instead."
end
user.ok = true
return user