Sha256: d2f64388e5c09276892695e8efb1acc676ac4f88948ddda1eeaf5bfa099c3d9d

Contents?: true

Size: 539 Bytes

Versions: 6

Compression:

Stored size: 539 Bytes

Contents

require 'spec_helper'

set :os, :family => 'solaris'

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

describe file('/tmp') do
  it { should_not be_readable.by_user('invalid-user') }
end

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

describe file('/tmp') do
  it { should_not be_writable.by_user('invalid-user') }
end


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

describe file('/tmp') do
  it { should_not be_executable.by_user('invalid-user') }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 spec/type/solaris/file_spec.rb
serverspec-2.0.0.beta18 spec/type/solaris/file_spec.rb
serverspec-2.0.0.beta17 spec/type/solaris/file_spec.rb
serverspec-2.0.0.beta16 spec/type/solaris/file_spec.rb
serverspec-2.0.0.beta15 spec/type/solaris/file_spec.rb
serverspec-2.0.0.beta14 spec/type/solaris/file_spec.rb