                     (git-init)
                     (git-commit "initial commit")
                     (git-checkout-b "some-branch")
-                    (start-wait-for-git-step-with-ref (fn [ref] (.endsWith ref "some-branch")))
+                    (start-wait-for-git-step :ref (fn [ref] (.endsWith ref "some-branch")))
                     (git-commit "other commit")
                     (get-step-result))]
       (is (= :success (:status (step-result state))))

            (get-step-result))
        (is (str-containing "Current HEAD" (:out (step-result state))))
        (is (str-containing (commit-hash-by-msg state "some commit") (:out (step-result state))))
        (is (= :success (:status (step-result state)))))
      )))
                    (git-commit "initial commit")
                    (git-checkout-b "some-branch")

                    (start-wait-for-git-step :ref (fn [ref] true))
                    (git-commit "some commit on master")
                    (wait-for-step-to-complete)

                    (git-checkout "some-branch")
                    (start-wait-for-git-step :ref (fn [ref] true))
                    (git-commit "some commit on branch")

                    (get-step-result))]
