# spec helper file ... Spork.prefork do ... # add this line to the prefork block - helps avoid crashes (as well as reloading routes) Spork.trap_method(Rails::Application::RoutesReloader, :reload!) end