I found it! It took my a while, eventually i diffed the log-files that
see what happens differently.

Apparently I have on spec file, where we try to test a baseclass.
Inside that spec we define a new controller that derives
from that baseclass, with a dummy index method.

And also we need the routes, so inside that spec the following code
was to be found:

    ActionController::Routing::Routes.draw do |map|
      map.connect ':controller/:action/:id'
      map.connect ':controller/:action/:id.:format'
    end

and somehow this spec was always run first. This effectively clears
the whole routing configuration i guess.

Not sure if this change is caused by rails3 or rspec2, anyway the
majority of my tests are now working, just need to fix this one
test now.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to