Sha256: 2b2b36f891a704ce7223dd1663894800a4c740657717b59bd9b08fd71035ac8f
Contents?: true
Size: 669 Bytes
Versions: 5
Compression:
Stored size: 669 Bytes
Contents
require 'spec_helper' set :os, :family => 'solaris' describe commands.command_class('file').create do it { should be_an_instance_of(Specinfra::Command::Solaris::Base::File) } end 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
5 entries across 5 versions & 1 rubygems