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.38.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.37.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.37.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.37.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.36.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.36.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.35.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.34.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.33.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.32.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.31.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.31.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.30.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.30.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.29.2 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.29.1 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.29.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.28.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.27.0 lib/serverspec/matcher/be_enforcing.rb
serverspec-2.26.0 lib/serverspec/matcher/be_enforcing.rb