52e6aa49c7
This adds some really basic system tests so that we can test that various refactorings work correctly and make life easier for you before submitting.
19 lines
582 B
Ruby
19 lines
582 B
Ruby
require 'bundler'
|
|
Bundler.require(:rake)
|
|
require 'rake/clean'
|
|
|
|
CLEAN.include('spec/fixtures/', 'doc', 'pkg')
|
|
CLOBBER.include('.tmp', '.librarian')
|
|
|
|
require 'puppetlabs_spec_helper/rake_tasks'
|
|
require 'puppet_blacksmith/rake_tasks'
|
|
require 'rspec-system/rake_task'
|
|
|
|
# use librarian-puppet to manage fixtures instead of .fixtures.yml
|
|
# offers more possibilities like explicit version management, forge downloads,...
|
|
task :librarian_spec_prep do
|
|
sh "librarian-puppet install --path=spec/fixtures/modules/"
|
|
end
|
|
task :spec_prep => :librarian_spec_prep
|
|
|
|
task :default => [:clean, :spec]
|