Matthew Haughton
ea4e2cdd17
gemfile: pin json_pure to 2.0.1 or lower on ruby 1.x
...
json_pure 2.0.2 requires ruby 2.0 or higher
2016-07-29 08:48:16 -04:00
Matthew Haughton
caeffeb2e8
add enable metadata-json-lint gem
2016-06-23 23:30:25 -04:00
Matthew Haughton
f451bd3bdb
tidy up the gemfile
...
* Moves beaker dependencies to system_tests group
* pin puppetlabs_spec_helper and rspec-puppet to compatible versions, which should minimize future breakage
* removed explicit dependency on rake
2016-06-22 23:01:24 -04:00
Matthew Haughton
17f3c54dc7
pin puppet-lint to 2.x
...
Two reasons:
1. Newer is better!
2. Running lint < 2.0 with the current Rakefile will fail - lines longer than 80 chars will cause warnings, and Rakefile says to fail on warnings
2016-06-22 22:11:20 -04:00
Matthew Haughton
941de4674e
travis: test on Puppet 4 for real
...
No need to test with future parser, the real thing is here.
2015-04-23 09:45:19 -04:00
Matthew Haughton
e5085f39e6
switch to beaker-rspec from rspec-system-puppet
2015-04-13 23:28:51 -04:00
Matthew Haughton
faa974b745
spec/Gemfile: switch to rspec-puppet 2
...
The big win is that it's now possible to test the future parser with the
latest Puppet release. In the past it wasn't possible to test future parser
with anything higher than 3.5.x.
2015-03-30 23:39:50 -04:00
Matthew Haughton
059f74d368
Gemfile: pin rspec-puppet to 1.x
...
rspec-puppet 2.0.0 will cause test failures when it's released until this module's test code is updated
2014-12-17 13:23:37 -05:00
Matthew Haughton
09337bac1c
ensure puppetlabs_spec_helper 0.8.2+
...
0.8.2 has a fix for puppet-lint rake task broken in 0.8.1
2014-10-02 08:21:51 -04:00
Matthew Haughton
b23c20b379
Pin puppetlabs_spec_helper to 0.8.0
...
0.8.1 has broken the 'rake lint' task which checks for style violations.
Unfortunately this means some have snuck in so this will break the build.
Revert when on merge of https://github.com/puppetlabs/puppetlabs_spec_helper/pull/78
2014-09-26 00:15:56 -04:00
Matthew Haughton
8a7aeb8ab6
bump puppet-lint version to 1.0.1
...
Required for .puppet-lint.rc and puppet-lint control comments
2014-09-03 09:21:44 -04:00
Matthew Haughton
2d4c9d98ac
switch to puppetlabs_spec_helper
...
Removes librarian-puppet since puppetlabs_spec_helper
can now handle installing modules from the Forge.
2014-08-18 22:41:34 -04:00
Lee Packham
8e5c2ce278
Use librarian-puppet < 1.1.0
...
1.1.0 is broken - 1.0.3 works fine.
2014-06-12 10:33:44 +01:00
Lee Packham
8eb26b792b
Fix all rspec tests so they run
...
For some reason these have been broken forever. Travis was failing,
correctly. I have updated the tests to be correct to how the code
actually works.
I would also suggest that if this is merged, we stop merging PRs that
have failed test runs. Tests matter in a module like this.
2014-06-10 22:10:00 +01:00
Matthew Haughton
8bd2acb344
remove deprecated rspec-system-serverspec includes
...
See https://github.com/puppetlabs/rspec-system-serverspec/pull/11
2013-12-08 17:09:03 -05:00
Matthew Haughton
23150bf8c2
boost rspec-puppet version
2013-12-07 12:34:05 -05:00
Matthew Haughton
2533623695
lock serverspec to 0.11.x
...
required to work around
https://github.com/puppetlabs/rspec-system-serverspec/issues/6
2013-11-30 17:52:45 -05:00
Ashley Penney
52e6aa49c7
Add basic rspec-system tests.
...
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.
2013-09-04 15:11:36 -04:00
Carlos Sanchez
a65355ef53
Add specs using puppetlabs_spec_helper and librarian-puppet
2013-06-05 18:35:34 +02:00