From ee215655cba5820c3ffe0c665ea71c11f15f3bf9 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Thu, 4 Aug 2011 15:39:04 -0700 Subject: Replace cucumber tag features with rspec request tests Remove cucumber support from project --- Guardfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Guardfile') 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$}) -- cgit v1.2.3