summaryrefslogtreecommitdiff
path: root/Guardfile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-09-21 13:22:30 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-09-21 13:22:30 +0300
commit10d3a30b255cd85b2cf7af39814fd7418eecd838 (patch)
tree1082a03374c7130ad33f9136d0d41f979bfe603c /Guardfile
parent4cc169d3cacea7e4325bb5632cc8878a7c3f41fe (diff)
downloadgitlab-ce-10d3a30b255cd85b2cf7af39814fd7418eecd838.tar.gz
APi for commits. Better api docs
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile
index 50a10af9a31..e682f0b6cf1 100644
--- a/Guardfile
+++ b/Guardfile
@@ -4,6 +4,7 @@
guard 'rspec', :version => 2, :all_on_start => false, :all_after_pass => false do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
# Rails example