Sha256: ee5d3c822d9f6819e1d75e1de7f89208acefbf32fb3e149a7e88ea7c40b90628

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

require 'rspec/core/rake_task'

desc 'Run spec tests'
RSpec::Core::RakeTask.new(:test) do |t|
  t.rspec_opts = ['--color']
  t.pattern = 'spec/'
end

desc 'Run spec tests with coverage'
RSpec::Core::RakeTask.new(:coverage) do |t|
  ENV['BEAKER_HIERA_COVERAGE'] = 'y'
  t.rspec_opts = ['--color']
  t.pattern = 'spec/'
end

task default: :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beaker-hiera-0.4.0 Rakefile
beaker-hiera-0.3.0 Rakefile