2011-04-29 22:40:12 +00:00
|
|
|
ENV["GUARD_ENV"] = 'development'
|
|
|
|
|
2011-04-16 21:13:29 +00:00
|
|
|
guard('rspec', :cli => '-f doc', :version => 2) do
|
2010-12-16 00:22:42 +00:00
|
|
|
watch(%r{^spec/(.*)_spec\.rb})
|
|
|
|
watch(%r{^lib/(.*)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
|
|
|
|
watch('spec/spec_helper.rb') { "spec" }
|
2011-04-29 22:40:12 +00:00
|
|
|
end
|