aboutsummaryrefslogtreecommitdiff
path: root/tests.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-03 00:45:43 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-03 00:45:43 +0000
commit8329e6ade8d250f5af3502346a9772f3804f0738 (patch)
treede26258bd492cbf4e96ce6f31012cae4549937bb /tests.el
parenta8e752a0454e6ce20162a741dd967ed64380225b (diff)
parent0ecf1dcfb01be97e0d98416dc8e0e2bc1664daeb (diff)
Merge branch 'master' into UI-first-attempt
Diffstat (limited to 'tests.el')
-rw-r--r--tests.el21
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" '(()))))