10 lines
235 B
Ruby
10 lines
235 B
Ruby
# vim:set filetype=ruby:
|
|
guard(
|
|
"rspec",
|
|
all_after_pass: false,
|
|
cli: "--fail-fast --tty --format documentation --colour") do
|
|
|
|
watch(%r{^spec/.+_spec\.rb$})
|
|
watch(%r{^lib/(.+)\.rb$}) { |match| "spec/#{match[1]}_spec.rb" }
|
|
end
|