Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v2.0.0.a8
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (16 sloc) 0.486 kb
Beholder.runner = 'clear; ruby -Ilib -Ispec'
map_for(:rspec_core) do |m|
m.watch 'lib', 'spec', 'example_specs'
m.add_mapping %r%example_specs/(.*)_spec\.rb% do |match|
["example_specs/#{match[1]}_spec.rb"]
end
m.add_mapping %r%spec/(.*)_spec\.rb% do |match|
["spec/#{match[1]}_spec.rb"]
end
m.add_mapping %r%spec/spec_helper\.rb% do |match|
Dir["spec/**/*_spec.rb"]
end
m.add_mapping %r%lib/(.*)\.rb% do |match|
tests_matching match[1]
end
end
Jump to Line
Something went wrong with that request. Please try again.