summaryrefslogtreecommitdiff
path: root/chef-utils/Rakefile
blob: 4bb4605e0c987837abfe360f723ce184f8bd5b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "bundler/gem_tasks"

task default: :spec

begin
  require "rspec/core/rake_task"
  desc "Run standard specs"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.verbose = false
    t.pattern = FileList["spec/**/*_spec.rb"]
  end
rescue LoadError
  STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
end