Sha256: 81ad76810ca13820b3adcac2766a26fab882224799ce5098cc191f8d0725dbf7

Contents?: true

Size: 566 Bytes

Versions: 65

Compression:

Stored size: 566 Bytes

Contents

require 'spec_helper'

set :os, {:family => 'aix'}

describe file('/tmp') do
  it { should be_readable.by_user('mail') }
end

describe file('/tmp') do
  it { should be_writable.by_user('mail') }
end

describe file('/tmp') do
  it { should be_executable.by_user('mail') }
end

describe file('/etc/passwd') do
  it 'be_mode is not implemented' do
    expect {
      should be_mode 644
    }.to raise_exception
  end
end

describe file('/etc/passwd') do
  it { should be_owned_by 'root' }
end

describe file('/etc/passwd') do
  it { should be_grouped_into 'root' }
end

Version data entries

65 entries across 65 versions & 3 rubygems

Version Path
serverspec-ruby19-2.24.3 spec/type/aix/file_spec.rb
serverspec-2.36.0 spec/type/aix/file_spec.rb
serverspec-2.35.0 spec/type/aix/file_spec.rb
serverspec-2.34.0 spec/type/aix/file_spec.rb
serverspec-2.33.0 spec/type/aix/file_spec.rb
serverspec-2.32.0 spec/type/aix/file_spec.rb
serverspec-2.31.1 spec/type/aix/file_spec.rb
serverspec-2.31.0 spec/type/aix/file_spec.rb
serverspec-2.30.1 spec/type/aix/file_spec.rb
serverspec-2.30.0 spec/type/aix/file_spec.rb
serverspec-2.29.2 spec/type/aix/file_spec.rb
serverspec-2.29.1 spec/type/aix/file_spec.rb
serverspec-2.29.0 spec/type/aix/file_spec.rb
serverspec-2.28.0 spec/type/aix/file_spec.rb
serverspec-2.27.0 spec/type/aix/file_spec.rb
serverspec-2.26.0 spec/type/aix/file_spec.rb
serverspec-2.25.0 spec/type/aix/file_spec.rb
serverspec-2.24.3 spec/type/aix/file_spec.rb
serverspec-2.24.2 spec/type/aix/file_spec.rb
serverspec-2.24.1 spec/type/aix/file_spec.rb