Routing error when updating to Rails 3.2.6 or Rspec 2.11.0
问题 After upgrading to Rails 3.2.6 or Rspec 2.11.0, my specs starts to show routing errors like the following: 4) UsersController GET activate activation code not exist Failure/Error: subject{ get :activate } ActionController::RoutingError: No route matches {:controller=>"users", :action=>"activate"} There is also a after each hook error An error occurred in an after(:each) hook RSpec::Mocks::MockExpectationError: (#<EmailSubscriber[...]>).update_attributes({:enable=>true}) expected: 1 time