My webzone

A place for John Bintz to ramble.

Cucumber, Capybara, and Rails Asset Pipeline in debug mode

Because who wants to recompile all their assets on each run?

features/support/env.rb

Capybara.server_port = 3001
Capybara.app_host = "http://localhost:3001"

ActionController::Base.asset_host = Capybara.app_host

config/environments/cucumber.rb

config.assets.enabled = true
config.assets.debug = true

You’re welcome.