Added integration tests for paste.pound-python.org

master
Elis Axelsson 9 years ago
parent 6b0043b2d8
commit d27e571758
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
  1. 13
      tests/integration/test-webpaste-providers.el

@ -87,6 +87,19 @@
";; This is a build artifact made from an integration test for https://github.com/etu/webpaste.el"
:sync t)
(expect (spy-calls-count 'webpaste-return-url) :to-equal 1)
(expect (spy-calls-count 'webpaste-paste-text) :to-equal 0)))
(it
"can paste with paste.pound-python.org"
(let ((provider (cadr (assoc "paste.pound-python.org" webpaste-providers-alist))))
(funcall
provider
";; This is a build artifact made from an integration test for https://github.com/etu/webpaste.el"
:sync t)
(expect (spy-calls-count 'webpaste-return-url) :to-equal 1)
(expect (spy-calls-count 'webpaste-paste-text) :to-equal 0))))

Loading…
Cancel
Save