-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raise exception if the minimum InSpec version is not available
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
- Loading branch information
1 parent
bcd5c4a
commit b1789a0
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# verify that a specific inspec version is installed | ||
describe gem('inspec', :chef) do | ||
it { should be_installed } | ||
its('version') { should cmp '1.20.0'} | ||
its('version') { should cmp '1.29.0'} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# verify that a specific inspec version is installed | ||
describe gem('inspec', :chef) do | ||
it { should be_installed } | ||
its('version') { should cmp '1.19.1'} | ||
its('version') { should cmp '1.25.1'} | ||
end |