 ;  http://www.eclipse.org/legal/epl-v10.html
 ;
 ;  Contributors:
-;      Pavel Tisnovsky
+;      Pavel Tisnovsky
 ;
 
 (ns clj-jenkins-api.jenkins-api-test

    "Check that the clj-jenkins-api.jenkins-api/update-jenkins-url definition exists."
    (testing "if the clj-jenkins-api.jenkins-api/update-jenkins-url definition exists."
        (is (callable? 'clj-jenkins-api.jenkins-api/update-jenkins-url))))

;
; Function behaviours

    "Test if given function-name is bound to the real function."
    [function-name]
    (clojure.test/function? function-name))



;
; Test for function existence
;

(deftest test-log-existence
    "Check that the clj-jenkins-api.jenkins-api/log definition exists."
    (testing "if the clj-jenkins-api.jenkins-api/log definition exists."
        (is (callable? 'clj-jenkins-api.jenkins-api/log))))



(deftest test-encode-spaces-existence
    "Check that the clj-jenkins-api.jenkins-api/encode-spaces definition exists."
    (testing "if the clj-jenkins-api.jenkins-api/encode-spaces definition exists."
        (is (callable? 'clj-jenkins-api.jenkins-api/encode-spaces))))



