aboutsummaryrefslogtreecommitdiffstats
path: root/Guardfile
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-10-23 10:19:39 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-10-23 10:19:39 +0300
commit4d7d5a20ef7d6eaae40fb51d9408bf61e34bb4e8 (patch)
treed4a31368e90dfc2e96fe01abfdd4649c8ba8dfa4 /Guardfile
parente86e94419357285839deb84e36768fd15a2b5221 (diff)
downloadrefinerycms-blog-4d7d5a20ef7d6eaae40fb51d9408bf61e34bb4e8.tar.gz
refinerycms-blog-4d7d5a20ef7d6eaae40fb51d9408bf61e34bb4e8.tar.bz2
refinerycms-blog-4d7d5a20ef7d6eaae40fb51d9408bf61e34bb4e8.zip
Remove spork.
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Guardfile b/Guardfile
index 9fb7e21..3e7844e 100644
--- a/Guardfile
+++ b/Guardfile
@@ -1,12 +1,4 @@
-guard 'spork', :wait => 60, :cucumber => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
- watch('config/application.rb')
- watch('config/environment.rb')
- watch(%r{^config/environments/.+\.rb$})
- watch(%r{^config/initializers/.+\.rb$})
- watch('spec/spec_helper.rb')
-end
-
-guard 'rspec', :version => 2, :cli => "--color --drb" do
+guard 'rspec', :version => 2, :cli => "--color" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }