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-2.0.0.beta20 spec/type/aix/file_spec.rb
serverspec-2.0.0.beta19 spec/type/aix/file_spec.rb
serverspec-2.0.0.beta18 spec/type/aix/file_spec.rb
serverspec-2.0.0.beta17 spec/type/aix/file_spec.rb
serverspec-2.0.0.beta16 spec/type/aix/file_spec.rb