percy / percy-capybara

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

Percy should support uploading assets from public/ #4

Closed tristanoneil closed 8 years ago

tristanoneil commented 8 years ago

Currently if you reference assets that are located in public/ the Percy client doesn't upload anything at all. It seems this is caused because the client only supports external resources or assets served up by Sprockets. It'd be nice if the Sprockets loader supported assets located and referenced in public/.

fotinakis commented 8 years ago

Done! https://github.com/percy/percy-capybara/commit/8822ed0e82065bdc1b86ab900e59521cbbc1a01f

This has been pushed as v1.2.0 of the gem. Thanks for the feedback.