Browse Source

Checking to see if the package is visible to the gpg_spec tests

master
Aaron Hicks 6 years ago
parent
commit
e49f5e7020
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      manifests/install.pp
  2. 2
    0
      spec/classes/gpg_spec.rb

+ 1
- 1
manifests/install.pp View File

@@ -2,6 +2,6 @@ class gpg::install (
$package
){
package{$package:
ensure => installed,
ensure => installed
}
}

+ 2
- 0
spec/classes/gpg_spec.rb View File

@@ -8,6 +8,7 @@ describe 'gpg', :type => :class do
}
end
it { should create_class("gpg::install") }
it { should contain_package("gnupg") }
end

context "on a RedHat OS" do
@@ -17,5 +18,6 @@ describe 'gpg', :type => :class do
}
end
it { should create_class("gpg::install") }
it { should contain_package("gnupg") }
end
end

Loading…
Cancel
Save