summaryrefslogtreecommitdiff
path: root/test/auth_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/auth_test.rb')
-rw-r--r--test/auth_test.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/auth_test.rb b/test/auth_test.rb
index e6c4017..0f76404 100644
--- a/test/auth_test.rb
+++ b/test/auth_test.rb
@@ -10,15 +10,19 @@ class AuthTest < Test::Unit::TestCase
end
def test_successful_auth
+ print "salt: "
+ puts @client.salt
+ print "verifier: "
+ puts @client.verifier
assert @client.authenticate(@server, @username, @password)
end
def test_wrong_password
- assert !@client.authenticate(@server, @username, "password")
+ assert !@client.authenticate(@server, @username, "wrong password")
end
def test_wrong_username
- assert !@client.authenticate(@server, "username", @password)
+ assert !@client.authenticate(@server, "wrong username", @password)
end
end