Commit 750e27eb by Erik Hetzner

Fix tests

parent 5c4a55e9
......@@ -17,7 +17,7 @@ Feature: Use org-zotxt-mode
And I press "RET"
And I type "doe"
And I press "RET"
And I type "Doe, John. “Article.” Journal of Generic Studies 6 (2006): 33–34."
And I type "Doe, John - Article"
And I press "RET"
And I execute the action chain
Then I should see "[[zotero://select/items/0_4T8MCITQ][Doe, John. “Article.” Journal of Generic Studies 6 (2006): 33–34.]]"
......
......@@ -16,8 +16,7 @@ Feature: Use zotxt-easykey-mode
And I press "RET"
And I type "doe"
And I press "RET"
And I type "Doe, John. First Book. Cambridge: Cambridge University Press, 2005."
And I type "Doe, John - First Book"
And I press "RET"
And I execute the action chain
Then I should see "@doe:2005first"
#/bin/sh -e
bundle install --quiet
cask
ruby mock-server.rb -p 33119 > /dev/null 2> /dev/null &
ruby mock-server.rb -p 33119 &
MOCK_PID=$!
sleep 2
cask exec ert-runner
......
......@@ -144,7 +144,7 @@
(deferred:$
(zotxt-choose-deferred :title-creator-year "doe first book")
(deferred:sync! it))))
(should (equal results '((:key "0_ZBZQ4KMP" :citation "Doe, John. First Book. Cambridge: Cambridge University Press, 2005."))))))
(should (equal results '((:key "0_ZBZQ4KMP"))))))
(ert-deftest org-zotxt-test-insert-reference-link-to-item ()
(let ((org-zotxt-link-description-style :citation)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment