Skip to content

Github gists returns 401 #33

@etu

Description

@etu
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions