My app works in dev and in prod fine, but when I run a simple rails 5 system test I get:
ActionController::RoutingError: No route matches [GET] "/packs-test/application-ba6af2abeb41bbe4ad46.js"
I updated to the latest rails version and the latest webpacker. I've reinstalled webpacker with:
bundle exec rails webpacker:install
bundle exec rails webpacker:install:react
But I still get the error.
My webpacker.yml is out of the box so nothing special. I do see the application.js in the public/packs-test folder.
I'm using minitest for testing and really just visiting the sign in page causes the error.
visit sign_in_path