Skip to content

Commit

Permalink
updating rspec-puppet to test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhongturney committed Sep 13, 2024
1 parent d3b703e commit bc1ce7b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ jobs:
exit 0
fi
environment:
RSPEC_PUPPET_VERSION="3.0.0"
RSPEC_PUPPET_VERSION="5.0.0"
PUPPET_VERSION="7.30.0"
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ group :development do
gem "simplecov-json", "~> 0.2"

# Integration test
# The puppet gem must be download and added to the vendor/cache manually
# The puppet gem no longer identifies as belonging to the "ruby" platform so it won't be found on rubygems.org
gem "puppet", "~> #{ENV['PUPPET_VERSION'] || '7.30.0'}"
gem "rspec-puppet", "~> #{ENV['RSPEC_PUPPET_VERSION'] || '3.0.0'}"
gem "rspec-puppet", "~> #{ENV['RSPEC_PUPPET_VERSION'] || '5.0.0'}"
end
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ GEM
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-puppet (3.0.0)
rspec
rspec-puppet (5.0.0)
rspec (~> 3.0)
rspec-support (3.13.1)
rubocop (1.65.1)
json (~> 2.3)
Expand Down Expand Up @@ -176,7 +176,7 @@ DEPENDENCIES
pry (~> 0.14)
puppet (~> 7.30.0)
rake (~> 13.2)
rspec-puppet (~> 3.0.0)
rspec-puppet (~> 5.0.0)
rubocop-github (~> 0.20.0)
simplecov (>= 0.14.1)
simplecov-json (~> 0.2)
Expand Down
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

rspec_puppet_versions="3.0.0"
rspec_puppet_versions="5.0.0"
puppet_versions="7.30.0"

set -e
Expand Down
Binary file added vendor/cache/rspec-core-3.13.1.gem
Binary file not shown.
Binary file added vendor/cache/rspec-expectations-3.13.3.gem
Binary file not shown.
Binary file added vendor/cache/rspec-puppet-5.0.0.gem
Binary file not shown.

0 comments on commit bc1ce7b

Please sign in to comment.