Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (13 sloc) 0.313 kB
9522e87 @jnunemaker Hookup guard.
authored
1 rspec_options = {
2 :all_after_pass => false,
3 :all_on_start => false,
4 }
5
6 guard 'rspec', rspec_options do
7 watch(%r{^spec/.+_spec\.rb$})
8 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
44ca175 @jnunemaker Guard should run helper instead of spec_helper.
authored
9 watch('spec/helper.rb') { "spec" }
9522e87 @jnunemaker Hookup guard.
authored
10 end
11
12 guard 'bundler' do
13 watch('Gemfile')
14 watch(/^.+\.gemspec/)
15 end
Something went wrong with that request. Please try again.