Sha256: 739e11f69b3159f5591bc24210490c46754f072c8777d11a068810a38ad7e16a
Contents?: true
Size: 528 Bytes
Versions: 11
Compression:
Stored size: 528 Bytes
Contents
RSpec::Matchers.define :be_installed do match do |subject| if subject.class.name == 'Serverspec::Type::SelinuxModule' subject.installed?(@version) else subject.installed?(@provider, @version) end end description do message = 'be installed' message << %( by "#{@provider}") if @provider message << %( with version "#{@version}") if @version message end chain :by do |provider| @provider = provider end chain :with_version do |version| @version = version end end
Version data entries
11 entries across 11 versions & 2 rubygems