adding rspec and auto test runs

This commit is contained in:
Michael McCabe
2013-09-05 16:50:29 -04:00
parent 65eb2caeaf
commit 1f3620a3de
5 changed files with 23 additions and 10 deletions
+6
View File
@@ -20,3 +20,9 @@ guard 'livereload', host: "railsgoat.dev", port: '35727' do
# Rails Assets Pipeline
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html))).*}) { |m| "/assets/#{m[3]}" }
end
guard :shell do
watch(%r{test/unit/.+\.rb}) { system("rake")}
watch(%r{test/functional/.+\.rb}) { system("rake")}
end