> > in my main view i have a link to the root_path, which converts to > > {:controller => "home", :action => :index} > > In every spec i run, i get the error: > > No route matches {:controller=>"home"} > > While if i run the application in development, everything renders > without any problem and is clickable correctly. >
[EDIT: more findings] I have done some more digging. The test run perfectly fine in Rubymine, or if i use the command-line and type rspec spec/controllers/users_controller/*.spec.rb But they do not work if I use rake spec What is the difference? I have deleted the `lib/tasks/rspec.rake` file (which was generated for rspec1) and i can see that the correct command is executed: bundle exec rspec So I am a bit at a loss here. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users