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

12 lines (11 sloc) 0.268 kB
process do |files|
specs = files.take_and_map do |file|
case file
when %r{app/(.+)\.rb$}
Dir.glob("spec/#{$1}_spec.rb")
when %r{spec/.+_spec\.rb$}
file
end
end
execute "rake spec files=#{specs.uniq.join(',')}" unless specs.empty?
end
Jump to Line
Something went wrong with that request. Please try again.