Sha256: 93c4a6a010f502dbac91dffd8a516d92cb029d998e447ba63720724a4684ad56

Contents?: true

Size: 356 Bytes

Versions: 19

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, {:family => 'linux'}

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('/tmp') do
  it { should be_immutable }
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
serverspec-2.12.0 spec/type/linux/file_spec.rb
serverspec-2.11.0 spec/type/linux/file_spec.rb
serverspec-2.10.2 spec/type/linux/file_spec.rb
serverspec-2.10.1 spec/type/linux/file_spec.rb
serverspec-2.10.0 spec/type/linux/file_spec.rb
serverspec-2.9.1 spec/type/linux/file_spec.rb
serverspec-2.9.0 spec/type/linux/file_spec.rb
serverspec-2.8.2 spec/type/linux/file_spec.rb
serverspec-2.8.1 spec/type/linux/file_spec.rb
serverspec-2.8.0 spec/type/linux/file_spec.rb
serverspec-2.7.2 spec/type/linux/file_spec.rb
serverspec-2.7.1 spec/type/linux/file_spec.rb
serverspec-2.7.0 spec/type/linux/file_spec.rb
serverspec-2.6.0 spec/type/linux/file_spec.rb
serverspec-2.5.0 spec/type/linux/file_spec.rb
serverspec-2.4.0 spec/type/linux/file_spec.rb
serverspec-2.3.1 spec/type/linux/file_spec.rb
serverspec-2.3.0 spec/type/linux/file_spec.rb
serverspec-2.2.0 spec/type/linux/file_spec.rb