aboutsummaryrefslogtreecommitdiff
path: root/test/test-api.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2015-01-02 19:35:33 -0500
committerSean Allred <code@seanallred.com>2015-01-02 19:35:33 -0500
commitdea60197cf658925827ccf3d10080dc4c0a22c40 (patch)
tree9c3149a81030e0567ff18b1acfb4302e11bfb3f6 /test/test-api.el
parentb67f83fa66b39736a3281b484d84aef8eff890cd (diff)
Test new sx-method functionality
Diffstat (limited to 'test/test-api.el')
-rw-r--r--test/test-api.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-api.el b/test/test-api.el
index b99ec7a..8e71eb2 100644
--- a/test/test-api.el
+++ b/test/test-api.el
@@ -16,3 +16,7 @@
(should
(< 250
(length (sx-request-all-items "sites")))))
+
+(ert-deftest test-method-get-all ()
+ "Tests sx-method interface to `sx-request-all-items'"
+ (should (< 250 (sx-method-call 'sites :get-all t))))