Skip to content

Commit f2f8e8d

Browse files
committed
add rspec-puppet and coverage data to spec tests
1 parent a2c82da commit f2f8e8d

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ source 'https://rubygems.org'
22

33
gem 'rake'
44
gem 'librarian-puppet'
5-
#gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git'
65
gem 'metadata-json-lint'
76
gem 'puppet', ENV['PUPPET_VERSION'] || '~> 3.7.0'
87
gem 'puppet-lint'
98
gem 'puppet-syntax'
109
gem 'puppetlabs_spec_helper'
10+
gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet.git'

Gemfile.lock

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
GIT
2+
remote: https://github.com/rodjek/rspec-puppet.git
3+
revision: 8459e14807977244c00bdbcf190062c529b63474
4+
specs:
5+
rspec-puppet (2.0.0)
6+
rspec (~> 2.0)
7+
18
GEM
29
remote: https://rubygems.org/
310
specs:
@@ -36,7 +43,9 @@ GEM
3643
puppet_forge
3744
rsync
3845
metaclass (0.0.4)
39-
metadata-json-lint (0.0.2)
46+
metadata-json-lint (0.0.4)
47+
json
48+
spdx-licenses (~> 1.0)
4049
minitest (5.5.0)
4150
mocha (1.1.0)
4251
metaclass (~> 0.0.1)
@@ -59,21 +68,17 @@ GEM
5968
rspec
6069
rspec-puppet
6170
rake (10.4.2)
62-
rspec (3.1.0)
63-
rspec-core (~> 3.1.0)
64-
rspec-expectations (~> 3.1.0)
65-
rspec-mocks (~> 3.1.0)
66-
rspec-core (3.1.7)
67-
rspec-support (~> 3.1.0)
68-
rspec-expectations (3.1.2)
69-
diff-lcs (>= 1.2.0, < 2.0)
70-
rspec-support (~> 3.1.0)
71-
rspec-mocks (3.1.3)
72-
rspec-support (~> 3.1.0)
73-
rspec-puppet (1.0.1)
74-
rspec
75-
rspec-support (3.1.2)
71+
rspec (2.99.0)
72+
rspec-core (~> 2.99.0)
73+
rspec-expectations (~> 2.99.0)
74+
rspec-mocks (~> 2.99.0)
75+
rspec-core (2.99.2)
76+
rspec-expectations (2.99.2)
77+
diff-lcs (>= 1.1.3, < 2.0)
78+
rspec-mocks (2.99.2)
7679
rsync (1.0.9)
80+
spdx-licenses (1.0.0)
81+
json
7782
thor (0.19.1)
7883
thread_safe (0.3.4)
7984
tzinfo (1.2.2)
@@ -90,3 +95,4 @@ DEPENDENCIES
9095
puppet-syntax
9196
puppetlabs_spec_helper
9297
rake
98+
rspec-puppet!

spec/classes/coverage_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
at_exit { RSpec::Puppet::Coverage.report! }

0 commit comments

Comments
 (0)