RailsCasts Pro episodes are now free!

Learn more or hide this

Ricardo de Cillo's Profile

GitHub User: rcillo

Site: http://ineverfinishanyth.in

Comments by Ricardo de Cillo

Avatar

This bug has been fixed in Rails 4.

Avatar

It seems that one of the things rspec-rails does is to add 'test:prepare' as a dependency to the test task. Commented it in the activerecord databases.rake to check and it's accountable for 2 seconds here.

Still cannot figure out where the other 2 seconds goes.

Avatar

Why running tests with rspec is faster than with rake? What's rake doing unnecessarily?