Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.296 kB
def run_specs
system('rake spec')
end
# Ctrl-\
Signal.trap('QUIT') do
puts "\n--- Running all specs ---\n"
run_specs
end
# Ctrl-C
Signal.trap('INT') { abort("\n") }
run_specs
[
'lib/(.*/)?.*\.rb',
'spec/(.*/)?.*_spec\.rb'
].each do |pattern|
watch(pattern) { |md| run_specs }
end
Jump to Line
Something went wrong with that request. Please try again.