guard file update for 4.0

This commit is contained in:
yafeilee 2014-09-29 22:06:18 +08:00
parent b319c6b7f4
commit 8829ab6973
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ guard 'rails' do
end
guard :rspec do
guard :rspec, cmd: "bundle exec rspec" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }