Commit graph

9 commits

Author SHA1 Message Date
tphoney
d401d7f252 {maint} modulesync 0794b2c 2016-06-29 10:42:31 +01:00
tphoney
098e82e694 {maint} modulesync changes for puppet-lint 2.0.0 2016-06-28 16:36:03 +01:00
David Schmitt
27458aff98 (maint) Update to current modulesync_configs [953280c]
This removes much of the assorted cruft that accumulated in the
unmanaged files and moves the remaining necessary parts to
spec_helper_local.
2016-04-07 12:31:06 +01:00
David Schmitt
f3e79ddcd5 Convert tests to use plain rspec-puppet
Tests in the new style produces the following documentation output:

abs
  should not eq nil
  should run abs() and raise an Puppet::ParseError
  should run abs(-34) and return 34
  should run abs("-34") and return 34
  should run abs(34) and return 34
  should run abs("34") and return 34
2015-06-01 18:02:22 +01:00
David Schmitt
ad7d12e460 Remove duplicate rake task and enable metadata.json linting
The :validate task is already provided by
puppetlabs_spec_helper/rake_tasks and would check files twice.

The metadata.json linting is just good form.
2015-06-01 12:21:59 +01:00
Garrett Honeycutt
9226037e4e Add rake tasks to validate and lint files and check with Travis
This patch adds the ability to validate syntax of manifests, templates,
and ruby files in lib/ via `rake validate` and the linting of manifests
with puppet-lint via `rake lint`. These two commands are chained with
running the spec tests in Travis to ensure there are no syntax or style
issues.
2013-11-30 11:18:43 -05:00
Branan Purvine-Riley
d9410f72e4 Require the new puppetlabs_spec_helper gem name 2012-05-31 09:10:27 -07:00
Branan Purvine-Riley
2247df4f6e Update for new gem version of puppetlabs_spec_helper
This updates the Rakefile and spec_helper to use the common versions
available in the puppetlabs_spec_helper rubygem branch. This mostly
just removes a bunch of duplicated code, but it also gives us more
flexibility in how the module is tested in the future.
2012-05-29 15:53:46 -07:00
Ken Barber
157531cd29 Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00