Sha256: eee99b5e2d022cf48ed84b60cb4e3e241f8add4113e20bc545a6d33dedd055bb

Contents?: true

Size: 534 Bytes

Versions: 6

Compression:

Stored size: 534 Bytes

Contents

require 'spec_helper'

set :os, :family => 'aix'

describe user('root') do
  it { should belong_to_group 'root' }
end

describe user('root') do
  it { should_not belong_to_group 'invalid-group' }
end

describe user('root') do
  it { should have_login_shell '/bin/bash' }
end

describe user('root') do
  it { should_not have_login_shell 'invalid-login-shell' }
end

describe user('root') do
  it { should have_home_directory '/root' }
end

describe user('root') do
  it { should_not have_home_directory 'invalid-home-directory' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

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