Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (21 sloc) 0.504 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

# rubies = %w[
# 1.8.6
# 1.8.7
# 1.9.2
# ree
# jruby
# ].map { |ruby| "#{ruby}@webmock" }

rspec_options = {
  # :rvm => rubies,
  :all_on_start => false,
  :notification => false,
  :cli => '--color',
  :version => 2
}

guard 'rspec', rspec_options do
  watch(%r{^spec/.+_spec\.rb})
  watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb') { "spec" }
end
Something went wrong with that request. Please try again.