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.42.3 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.42.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.42.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-cem-acpt-2.42.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.42.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.8 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.7 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.6 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.5 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.4 lib/serverspec/matcher/be_enforcing.rb
serverspec-ruby19-2.24.3 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.3 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.41.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.40.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.39.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.39.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.39.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.38.1 lib/serverspec/matcher/be_enforcing.rb