Sha256: 7c20b0390d46305af0473564274df5b54ec2cd81432844e89706cf90db7a3fe5

Contents?: true

Size: 185 Bytes

Versions: 47

Compression:

Stored size: 185 Bytes

Contents

RSpec::Matchers.define :be_enforcing do
  match do |selinux|
    selinux.enforcing?(@with_policy)
  end

  chain :with_policy do |with_policy|
    @with_policy = with_policy
  end

end

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
serverspec-2.25.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.24.3 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.24.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.24.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.24.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.23.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.23.0 lib/serverspec/matcher/be_enforcing.rb