Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thisirs committed Jan 16, 2015
1 parent 29a955b commit 47d1f0c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/org-context-agenda-test-exception.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(defvar resources-path (expand-file-name "tests/resources/ProjectA" default-directory))

(ert-deftest org-context-advice ()
"Tests if `org-agenda' and 'org-capture' are advised."
"Tests if `org-agenda' and `org-capture' are advised."
(should (ad-is-advised 'org-agenda))
(should (ad-is-advised 'org-capture))
(should-not (ad-is-active 'org-agenda))
Expand All @@ -24,8 +25,7 @@
(with-current-buffer buffer
(should (local-variable-p 'org-context-agenda)))))


(ert-deftest org-context-agenda-check-blah ()
(ert-deftest org-context-agenda-check-local-1 ()
"Tests if `org-context-agenda' is local."
(let ((directory (expand-file-name "ProjectA" resources-path))
buffer)
Expand All @@ -38,8 +38,4 @@
'(("t" "Agenda and all TODO's"
todo
nil
((org-agenda-files '("todo.org"))))))))

(org-agenda nil "t")
(org-agenda-redo)
(should (equal (buffer-name) "*Agenda(ProjectA:t)*")))))
((org-agenda-files '("todo.org")))))))))))

0 comments on commit 47d1f0c

Please sign in to comment.