We'll respond shortly.
“We are attempting to upgrade one of our projects using Fixture Scenarios to Rails 2.3.2. When we attempt to run our tests we get errors about a corrupt fixture file. Is anyone successfully using Fixture Scenarios with Rails 2.3?”
It is really easy to declare an additional route just for use in a controller test. All that is needed is to recall
ActionController::Routing::Routes.draw at the top of your spec file. One situation in which this can be useful is if you are creating a new controller just for testing purposes.
class DummiesController < ApplicationController before_filter :require_profile def index end end ActionController::Routing::Routes.draw do |map| map.resources :dummies end describe DummiesController do ... end