Guardfile for rails
This commit is contained in:
parent
0e9f99811b
commit
3d691176b8
|
@ -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" }
|
||||||
|
|
Loading…
Reference in New Issue