Permalink
Browse files

Get autotest running a little faster

  • Loading branch information...
1 parent 1171540 commit a18424934384fa0f33048eff95f1dcb85b118de6 squarism committed Sep 7, 2012
Showing with 5 additions and 1 deletion.
  1. +3 −0 .autotest
  2. +1 −1 Gemfile
  3. +1 −0 test/test_helper.rb
View
3 .autotest
@@ -10,3 +10,6 @@ class Autotest
end
end
end
+
+# tighten up the time before the test is run
+ObjectSpace.each_object(Autotest).first.sleep = 10
View
2 Gemfile
@@ -45,7 +45,7 @@ group :test, :develop do
# Run 'bundle exec autotest' to rerun relevant tests whenever a file/test is changed.
gem 'autotest-standalone' # The file '.autotest' makes sure the tests are run via test server (spork).
gem 'autotest-rails-pure' # -pure gives us autotest without ZenTest gem.
- gem 'autotest-fsevent' # react to filesystem events, save your CPU
+ gem 'autotest-fsevent' # react to filesystem events, save your CPU
gem 'spork-minitest'
end
View
1 test/test_helper.rb
@@ -19,6 +19,7 @@
require 'rake'
require 'turn'
require 'rails/test_help'
+ require 'autotest/fsevent'
end
Spork.each_run do

0 comments on commit a184249

Please sign in to comment.