mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
- Initial test modified to be similar to Clojure version - update-quality modified to read from make-item directly. Helper methods removed
11 lines
202 B
EmacsLisp
11 lines
202 B
EmacsLisp
(require 'ert)
|
|
(require 'gilded-rose)
|
|
|
|
|
|
(defconst foo (make-item "foo" 20 10))
|
|
|
|
(ert-deftest check-name-of-item ()
|
|
(should (string= "fixme" (plist-get foo :name))))
|
|
|
|
(ert-run-tests-interactively t)
|