Sha256: eb127a646f604e689046e4463cf7b18ef0ce5d6dc2b5b949eee9b85fab7e8cac

Contents?: true

Size: 938 Bytes

Versions: 2

Compression:

Stored size: 938 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Solaris11

describe 'Serverspec user matchers of Solaris11 family' do
  it_behaves_like 'support user exist matcher', 'root'
  it_behaves_like 'support user belong_to_group matcher', 'root', 'root'
  it_behaves_like 'support user have_uid matcher', 'root', 0
  it_behaves_like 'support user have_login_shell matcher', 'root', '/bin/bash'
  it_behaves_like 'support user have_home_directory matcher', 'root', '/root'
  it_behaves_like 'support user have_authorized_key matcher', 'root', 'ssh-rsa ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH foo@bar.local'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
serverspec-0.6.23 spec/solaris11/user_spec.rb
serverspec-0.6.22 spec/solaris11/user_spec.rb