jeremytregunna / ruby-trello

Implementation of the Trello API for Ruby
MIT License
719 stars 237 forks source link

Setup integration test #309

Open breiko83 opened 2 years ago

breiko83 commented 2 years ago

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=****

hoppergee commented 2 years ago

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