summaryrefslogtreecommitdiff
path: root/worker/tests/ldap.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 13:08:35 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 13:08:35 +0000
commitab876665a2cf25b1bf557ea7d6cd9ff7e7923db6 (patch)
tree6b6affb2de6d84f3935a5cf5d6b2ce59f846830e /worker/tests/ldap.rb
parent37b701fc0c7002e2d84f2d61bd9c57085c8b9542 (diff)
Renamed 'get_details()' to 'error()'.
Diffstat (limited to 'worker/tests/ldap.rb')
-rwxr-xr-xworker/tests/ldap.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/worker/tests/ldap.rb b/worker/tests/ldap.rb
index a966b6a..d89ee35 100755
--- a/worker/tests/ldap.rb
+++ b/worker/tests/ldap.rb
@@ -38,7 +38,7 @@ class LDAPTest
#
# Return "false" on failure.
#
- # If the test fails the details should be retrieved from "get_details".
+ # If the test fails the details should be retrieved from "error()".
#
def run_test
@@ -84,7 +84,7 @@ class LDAPTest
#
# Return the error text for why this test failed.
#
- def get_details
+ def error
return @error
end
@@ -116,7 +116,7 @@ if __FILE__ == $0 then
puts "TEST OK"
else
puts "TEST FAILED"
- puts obj.get_details()
+ puts obj.error()
end
end