Guardfile for rails

This commit is contained in:
yafeilee 2016-03-08 23:28:27 +08:00
parent 0e9f99811b
commit 3d691176b8
1 changed files with 0 additions and 1 deletions

View File

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