added cucumber support

This commit is contained in:
Scott Davis 2011-10-05 15:39:26 -04:00
parent 63c00881aa
commit a47f10ce1b

View File

@ -7,7 +7,8 @@ require 'hydra/master'
class Guard::Hydra < Guard::Guard class Guard::Hydra < Guard::Guard
MATCHERS = { MATCHERS = {
:rspec => '**/*_spec.rb' :rspec => '**/*_spec.rb',
:cucumber => '**/**/*{.feature}'
} }
def initialize(watchers = [], options = {}) def initialize(watchers = [], options = {})