summaryrefslogtreecommitdiff
path: root/Guardfile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-01 12:30:07 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-01 12:30:07 +0300
commit24ea884fab740ea9c666179a61c53d5768a8db89 (patch)
tree7394852e22b3ab6e8b2a6031c81e4989df96f627 /Guardfile
parent9be05a430b312190dd884d9f6145bac7dd3e6485 (diff)
downloadgitlab-ce-24ea884fab740ea9c666179a61c53d5768a8db89.tar.gz
add spring to guard
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'Guardfile')
-rw-r--r--Guardfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Guardfile b/Guardfile
index e682f0b6cf1..b6a9a0545e7 100644
--- a/Guardfile
+++ b/Guardfile
@@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
-guard 'rspec', :version => 2, :all_on_start => false, :all_after_pass => false do
+guard 'rspec', cmd:"spring 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" }