diff options
author | alexjgriffith <griffitaj @gmail.com> | 2017-05-15 16:20:25 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-05-18 10:21:21 -0400 |
commit | 5f41086d3a03e8781aab77ab17f4d4f95263e07c (patch) | |
tree | ebb31053b11941f35b3c65b154162780ab7ce005 /test/mastodon-tl-tests.el | |
parent | 626e0e3ba4f435ea1c13507f2d4f66aee96aa8f8 (diff) |
Putting buffer name and update function in buffer local var
removed tests for previous version
documented mastodon-buffer-spec getters
moved mastodon-buffer-spec to mastodon.el
combined mastodon-tl--get and mastodon-tl--init, along with other cleanups
Diffstat (limited to 'test/mastodon-tl-tests.el')
-rw-r--r-- | test/mastodon-tl-tests.el | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/mastodon-tl-tests.el b/test/mastodon-tl-tests.el index 3fb2c3b..caea476 100644 --- a/test/mastodon-tl-tests.el +++ b/test/mastodon-tl-tests.el @@ -236,47 +236,3 @@ | (B) (F) Account 42 (@acct42@example.space) Boosted Account 43 (@acct43@example.space) original time ------------"))))) -(ert-deftest mastodon-tl--endpoint-notifications () - "Should return the appropriate endpoint string and update function format - -notifications." - (should - (and - (equal - 'mastodon-notifications--notifications - (plist-get (mastodon-tl--get-endpoint "notifications") - 'update-function)) - (equal - "notifications" - (plist-get (mastodon-tl--get-endpoint "notifications") - 'endpoint))))) - -(ert-deftest mastodon-tl--endpoint-tag () - "Should return the appropriate endpoint string and update function for - -tags." - (should - (and - (equal - 'mastodon-tl--timeline - (plist-get (mastodon-tl--get-endpoint "tag/test") - 'update-function)) - (equal - "timelines/tag/test" - (plist-get (mastodon-tl--get-endpoint "tag/test") - 'endpoint))))) - -(ert-deftest mastodon-tl--endpoint-local () - "Should return the appropriate endpoint string and update function for - -the local timeline." - (should - (and - (equal - 'mastodon-tl--timeline - (plist-get (mastodon-tl--get-endpoint "public?local=true") - 'update-function)) - (equal - "timelines/public?local=true" - (plist-get (mastodon-tl--get-endpoint "public?local=true") - 'endpoint))))) |