Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup integration test #309

Open
breiko83 opened this issue Jul 5, 2022 · 1 comment
Open

Setup integration test #309

breiko83 opened this issue Jul 5, 2022 · 1 comment

Comments

@breiko83
Copy link

breiko83 commented Jul 5, 2022

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
Copy link
Collaborator

hoppergee commented Jul 5, 2022

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_KEY
  • TRELLO_MEMBER_TOKEN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants