mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-27 19:23:59 -04:00
Spork initialises rails once and thereafter uses that copy of rails to run spec tests, leading to much faster test runs. On my machine, testing index.html.haml takes 2s instead of 7s after this change, and `rake` takes ~9s instead of ~18s. Instructions once again taken from http://www.rubyinside.com/how-to-rails-3-and-rspec-2-4336.html, though I didn't copy any code for this commit.