Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 394 Bytes
group 'specs' do
guard :rspec, :cli => '-f doc' do
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^spec/.+_spec\.rb$})
watch('spec/spec_helper.rb') { "spec" }
end
end
group 'tests' do
guard :test do
watch(%r{lib/(.+)\.rb}) { |m| "test/#{m[1]}_test.rb" }
watch(%r{test/.+_test\.rb})
watch('test/test_helper.rb') { "test" }
end
end
Something went wrong with that request. Please try again.