diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-08-04 15:39:04 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-08-04 15:39:04 -0700 |
commit | ee215655cba5820c3ffe0c665ea71c11f15f3bf9 (patch) | |
tree | aa1da7816aecf14c2033dff124cf867f30b7581b /Guardfile | |
parent | 8bd056e3e8baa108b2e10e460ceeeed3ec7c4c86 (diff) | |
download | refinerycms-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-- | Guardfile | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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$}) |