ruby-trello
ruby-trello copied to clipboard
Setup integration test
Hello - I'd like to submit a pull request but I'm struggling with running tests.
I followed the instructions on integration_test.rb but at point 3 I get "To access this board, contact a Workspace admin."
# Getting developer/member key
# 1. https://trello.com/1/appKey/generate
# 2. https://trello.com/1/authorize?key=<public_key_here>&name=RubyTrelloIntegrationTests&response_type=token
# See: https://trello.com/board/trello-public-api/4ed7e27fe6abb2517a21383d
My .env file looks like this: DEVELOPER_PUBLIC_KEY=*** DEVELOPER_SECRET=**** MEMBER_TOKEN=****
Hi @breiko83, the code in spec/integration/integration_test is outdated and not in use.
You can follow the instructions in README to run all tests with MatrixEval.
If you need to test with your own Trello account, please use below two ENV variables in .env
TRELLO_DEVELOPER_PUBLIC_KEYTRELLO_MEMBER_TOKEN