1. Generate asset paths during tests as well.
2. Don't get the asset paths using ApplicationController.helpers.asset_path, as it triggers circular dependencies during capybara tests.