percy / percy-capybara

Visual testing for Capybara with Percy.
https://docs.percy.io/docs/capybara
MIT License
45 stars 23 forks source link

Fully support configuration via `Percy.config.access_token` #29

Closed gareth closed 3 years ago

gareth commented 7 years ago

Since 2.4.4, Percy has had protection to stop you accidentally trying to turn it on without specifying a project.

However, the protection only kicks in if you're configuring Percy using the PERCY_TOKEN environment variable, whereas wider Percy documentation (the percy-client gem) gives an alternative way to configure, using the Percy.config.access_token accessor.

percy-capybara should work identically regardless of how it was configured.