Sha256: e099eb7b90050539e90b55a4bc7b73661a9dae71a8d83f0bff8bf31d9da5d702
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' set :os, :family => 'arch' 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