Change guard-rspec config for support files

This commit is contained in:
Thibault Jouan 2014-02-13 23:18:43 +00:00
parent ddba3eee45
commit a22a504685

View File

@ -6,6 +6,7 @@ end
guard :rspec, cmd: 'rspec -f doc' do
watch(%r{\Aspec/.+_spec\.rb\z})
watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { 'spec' }
watch(%r{\Alib/(.+)\.rb\z}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { 'spec' }
watch(%r{\Aspec/support/.+\.rb\z}) { 'spec' }
end