lean2/src/emacs/features/step-definitions/emacs-steps.el
2014-09-11 12:33:49 -07:00

28 lines
541 B
EmacsLisp

;; This file contains your project specific step definitions. All
;; files in this directory whose names end with "-steps.el" will be
;; loaded automatically by Ecukes.
(Given "^I have \"\\(.+\\)\"$"
(lambda (something)
;; ...
))
(When "^I have \"\\(.+\\)\"$"
(lambda (something)
;; ...
))
(Then "^I should have \"\\(.+\\)\"$"
(lambda (something)
;; ...
))
(And "^I have \"\\(.+\\)\"$"
(lambda (something)
;; ...
))
(But "^I should not have \"\\(.+\\)\"$"
(lambda (something)
;; ...
))