Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (21 sloc) 0.504 kB
754df4f @jcf Add guard-rspec for automated testing
jcf authored
1 # A sample Guardfile
2 # More info at https://github.com/guard/guard#readme
3
777fe7e @jcf Configure guard-rspec
jcf authored
4 # rubies = %w[
5 # 1.8.6
6 # 1.8.7
7 # 1.9.2
8 # ree
9 # jruby
10 # ].map { |ruby| "#{ruby}@webmock" }
11
12 rspec_options = {
13 # :rvm => rubies,
14 :all_on_start => false,
15 :notification => false,
16 :cli => '--color',
17 :version => 2
18 }
19
20 guard 'rspec', rspec_options do
754df4f @jcf Add guard-rspec for automated testing
jcf authored
21 watch(%r{^spec/.+_spec\.rb})
22 watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
23 watch('spec/spec_helper.rb') { "spec" }
24 end
Something went wrong with that request. Please try again.