diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-03 00:45:43 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2014-11-03 00:45:43 +0000 |
commit | 8329e6ade8d250f5af3502346a9772f3804f0738 (patch) | |
tree | de26258bd492cbf4e96ce6f31012cae4549937bb /tests.el | |
parent | a8e752a0454e6ce20162a741dd967ed64380225b (diff) | |
parent | 0ecf1dcfb01be97e0d98416dc8e0e2bc1664daeb (diff) |
Merge branch 'master' into UI-first-attempt
Diffstat (limited to 'tests.el')
-rw-r--r-- | tests.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tests.el b/tests.el deleted file mode 100644 index 0c2af0f..0000000 --- a/tests.el +++ /dev/null @@ -1,21 +0,0 @@ -(defun -stack--nuke () - (interactive) - (mapatoms - (lambda (symbol) - (if (string-prefix-p "stack-" (symbol-name symbol)) - (unintern symbol))))) - -;;; Tests -(setq debug-on-error t) - -(require 'stack-core) -(require 'stack-question) - -(setq stack-core-remaining-api-requests-message-threshold 50000) - -(ert-deftest test-question-retrieve () - (should (stack-question-get-questions 'emacs))) - -(ert-deftest test-bad-request () - (should-error - (stack-core-make-request "questions" '(())))) |