Commit graph

17 commits

Author SHA1 Message Date
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
Bryan Jen
c43924682a Fix Gemfile to work with ruby 1.8.7 2015-11-20 12:14:30 -07:00
Morgan Haskel
224b644003 Use puppet_install_helper 2015-07-09 17:11:10 -07:00
David Schmitt
1d6da9674e Gemfile: specify minimum rspec-puppet version
Only 2.2 contains all the features we're currently using. Documenting
that in the Gemfile should make that clear.
2015-06-02 12:21:25 +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
David Schmitt
24680aceec spec_helper: use proper mocha import to avoid warning 2015-05-05 13:30:54 +01:00
Alice Nodelman
2381f7cff4 (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc

- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
2015-03-24 15:07:42 -07:00
Travis Fields
e319b85046 Add ability to pin beaker versions 2015-03-05 14:14:13 -08:00
Eli Young
f9855d99ec Have Travis actually test Facter 1.6/1.7
The Gemfile didn't actually specify which version to use for Facter,
even when there was an environment variable to that effect.
2015-02-12 11:45:39 -08:00
Eli Young
8524a17e0f Fix Travis builds
The release of rspec 3.2.0 broke a lot of tests. Pinning to rspec 3.1.0
provides a temporary fix.
2015-02-12 11:32:38 -08:00
Justin Stoller
66434f9036 (QENG-1404) Segregate system testing gems
Prior to this there was generic :test group.

Unfortunately Beaker will be EOL-ing support for Ruby 1.8 (a number of
Beaker's dependencies already have and pinning to older versions is
becoming costly). Once Beaker does this it will cause failures whenever
running `bundle install`.

To avoid this failure we can segregate the system testing gems, allowing
unit, lint and development to continue with
`bundle install --without system_tests`.
2014-11-10 11:56:40 -08:00
Travis Fields
24a6fecc78 Add windows Nodesets and remove Beaker from Gemfile 2014-06-20 16:39:15 -07:00
Hunter Haugen
f8f147e794 Add success/fail groups 2014-04-08 15:04:55 -07:00
Adrien Thebo
b6ee24687c (maint) Pin rake version to 10.1.0 for 1.8 compat 2014-03-25 09:46:53 -07:00
Ashley Penney
3feb846cf4 Ensure Gemfile retains facilities for Jenkins. 2014-03-11 09:21:37 -07:00
Ashley Penney
dbb29980a1 Numerous changes to update testing gems.
This work updates a number of Gems to the latest versions (rspec,
rspec-puppet), and updates and tweaks a bunch of tests to work
with the updated gems.
2014-03-10 10:58:49 -07:00