Skip to content
This repository
tree: 298f462ffe
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (13 sloc) 0.513 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Copyright (c) 2009-2012 VMware, Inc.

guard :bundler, :notify => false do
  watch("Gemfile")
end

group :unit_tests do
  guard :rspec, :version => 2, :cli => "--color --format nested --fail-fast",
                :all_after_pass => false, :spec_paths => %w(spec/unit) do
    watch("spec/spec_helper.rb") { "spec/unit" }
    watch("lib/agent.rb") { "spec/unit" }
    watch(%r{^spec/.+_spec\.rb})
    watch(%r{^lib/agent/(.+)\.rb}) { |m| "spec/unit/#{m[1]}_spec.rb" }
  end
end
Something went wrong with that request. Please try again.