- test "config.asset_path is not passed through env" do
- make_basic_app do |app|
- app.config.asset_path = "/omg%s"
- end
- class ::OmgController < ActionController::Base
- def index
- render :text => env["action_dispatch.asset_path"].inspect
- end
- end
- get "/"
- assert_equal "nil", last_response.body
- end