webpaste.el icon indicating copy to clipboard operation
webpaste.el copied to clipboard

Github gists returns 401

Open etu opened this issue 7 years ago • 0 comments

cask exec buttercup -L . tests/integration/ 
Loading /home/etu/code/webpaste.el/tests/load-undercover.el (source)...
Running 6 specs.

Test provider with dummy data so it
  ci: can paste with ptpb.pw
  ci: can paste with ix.io
  ci: can paste with dpaste.com
  ci: can paste with dpaste.de
  local: can paste with gist.github.comGot error: (error http 401)
  local: can paste with gist.github.com  FAILED
  ci: can paste with paste.pound-python.org

========================================
Test provider with dummy data so it local: can paste with gist.github.com

Traceback (most recent call last):
  (buttercup-fail "%s" "Expected `(spy-calls-count (quote webpaste--return-u...
  (signal buttercup-failed "Expected `(spy-calls-count (quote webpaste--retu...
FAILED: Expected `(spy-calls-count (quote webpaste--return-url))' to be `equal' to `1', but instead it was `0' which does not match because: (different-atoms (0 "#x0" "?") (1 "#x1" "?")).

Ran 6 specs, 1 failed, in 8.8 seconds.

make: *** [Makefile:24: integration] Error 255

Create gist API docs: https://developer.github.com/v3/gists/#create-a-gist

I think the request needs to be authenticated or something.

etu avatar Aug 16 '18 14:08 etu