Skip to content

Spork configurations

mattscilipoti edited this page Aug 25, 2011 · 2 revisions

Require step definitions

guard 'cucumber', :cli => "--drb --require features/" 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
Clone this wiki locally