d7df6faa16
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
14 lines
393 B
Ruby
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,
|
|
]
|