                 (let* ((graph-dir (match-string 1 file-name))
                        (vertex-name (match-string 2 file-name))
                        (graph-test-dir (or (and (string-equal graph-dir "app_graph") "") "church_center")))
-                  (concat "test/integration/pco/api/" graph-dir "/" (rails-test--pluralize vertex-name) "_test.rb")))
+                  (concat "test/integration/pco/api/" graph-dir "/" (dm-guard--pluralize vertex-name) "_test.rb")))
                ((string-match "^app/\\(.+\\).rb$" file-name)
                 (if spec-mode
                     (concat "spec/" (match-string 1 file-name) "_spec.rb")

  (interactive "b")
  (setq-local dm-guard-manual-test-buffer (get-buffer buffer)))

(define-minor-mode rails-test-mode
  "Use emamux to test after saving a file."
  :init-value nil
  :lighter " rails-test"
  (cond ((bound-and-true-p rails-test-mode)
         (add-hook 'after-save-hook #'rails-test t t))
        (t
         (remove-hook 'after-save-hook #'rails-test t))))

(use-package emamux)


     ((string-match "\\(.+\\)s$" word) (match-string 1 word))
     (t (error (concat "Can't singularize " word))))))

(defun dm-guard--pluralize (word)
  "Pluralize WORD very stupidly."
  (save-match-data
    (cond
