Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override the selinux_module string to be 'SELinux module'
Summary: When running rspec in '-f d' mode the selinux type says 'SELinux' while the selinux_module type read 'Selinux module'. With this change it is now 'SELinux module'. Plus better descriptions for the types selinux_module and package. Type selinux_module: describe selinux_module('bootloader') do it { should be_installed } end describe selinux_module('bootloader') do it { should be_installed.with_version('1.10') } end Before: Selinux module "bootloader" should be enabled Selinux module "bootloader" should be enabled After: SELinux module "bootloader" should be enabled SELinux module "bootloader" should be enabled with version "1.10" Type package: describe package('jekyll') do it { should be_installed.by(:gem) } end describe package('jekyll') do it { should be_installed.by(:gem).with_version('1.1.1') } end Before: Package "jekyll" should be installed Package "jekyll" should be installed After: Package "jekyll" should be installed by "gem" Package "jekyll" should be installed by "gem" with version "1.1.1"
- Loading branch information