My problem is that I followed this tutorial to try to load the assets in test environment when debugging with Capybara method save_and_open_page
, but I get the following error:
No route matches [GET] "/public/assets/application-22cc3ed14274a8cdae6670ce999946a627b5fd03c71819fbe4453118dca5ff40.css">
I added the following parameters in environments/test.rb
to try to make them work but I still getting this error.
config.assets.digest = true
config.assets.prefix = '../public/assets/'
config.assets.quiet = true
config.assets.precompile += %w( *.js *.css )
config.public_file_server.enabled = true
Thanks for the help!