puppet-tempest/Rakefile
Pierre RAMBAUD d7df6faa16 Adding puppet-rspec tests
Reasons:
- No rspec tests

Changes:
- Add dependencies in Gemfile.
- Edit Rakefile to add the capability to use "bundle exec rake test" command
to check lint and spec.
- Add some tests for class, type and provider.

Change-Id: I62653b883340a43a0cddd1fea36773d6c56a48f9
2014-03-26 12:44:02 +01:00

14 lines
393 B
Ruby

require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')
desc "Run lint, and spec tests."
task :test => [
:lint,
:spec,
]