aboutsummaryrefslogtreecommitdiffstats
path: root/Guardfile
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-08-04 15:39:04 -0700
committerJamie Winsor <jamie@enmasse.com>2011-08-04 15:39:04 -0700
commitee215655cba5820c3ffe0c665ea71c11f15f3bf9 (patch)
treeaa1da7816aecf14c2033dff124cf867f30b7581b /Guardfile
parent8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86 (diff)
downloadrefinerycms-blog-ee215655cba5820c3ffe0c665ea71c11f15f3bf9.tar.gz
refinerycms-blog-ee215655cba5820c3ffe0c665ea71c11f15f3bf9.tar.bz2
refinerycms-blog-ee215655cba5820c3ffe0c665ea71c11f15f3bf9.zip
Replace cucumber tag features with rspec request tests
Remove cucumber support from project
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Guardfile b/Guardfile
index 91d89e0..4de3a30 100644
--- a/Guardfile
+++ b/Guardfile
@@ -19,13 +19,7 @@ guard 'rspec', :version => 2 do
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
end
-guard 'cucumber' do
- watch(%r{^features/.+\.feature$})
- watch(%r{^features/support/.+$}) { 'features' }
- watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
-end
-
-guard 'spork', :wait => 60, :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do
+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$})