Change guard-rspec config for support files
This commit is contained in:
parent
ddba3eee45
commit
a22a504685
@ -6,6 +6,7 @@ end
|
|||||||
|
|
||||||
guard :rspec, cmd: 'rspec -f doc' do
|
guard :rspec, cmd: 'rspec -f doc' do
|
||||||
watch(%r{\Aspec/.+_spec\.rb\z})
|
watch(%r{\Aspec/.+_spec\.rb\z})
|
||||||
watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" }
|
watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" }
|
||||||
watch('spec/spec_helper.rb') { 'spec' }
|
watch('spec/spec_helper.rb') { 'spec' }
|
||||||
|
watch(%r{\Aspec/support/.+\.rb\z}) { 'spec' }
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user