Sha256: dd7811674553c6e27cbc1a46b951fcc1147c190f741880dfd3baf534d8d9d064

Contents?: true

Size: 932 Bytes

Versions: 43

Compression:

Stored size: 932 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Darwin

describe 'Serverspec user matchers of Darwin 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

43 entries across 43 versions & 1 rubygems

Version Path
serverspec-0.6.2 spec/darwin/user_spec.rb
serverspec-0.6.1 spec/darwin/user_spec.rb
serverspec-0.6.0 spec/darwin/user_spec.rb
serverspec-0.5.8 spec/darwin/user_spec.rb
serverspec-0.5.7 spec/darwin/user_spec.rb
serverspec-0.5.6 spec/darwin/user_spec.rb
serverspec-0.5.5 spec/darwin/user_spec.rb
serverspec-0.5.4 spec/darwin/user_spec.rb
serverspec-0.5.3 spec/darwin/user_spec.rb
serverspec-0.5.2 spec/darwin/user_spec.rb
serverspec-0.5.1 spec/darwin/user_spec.rb
serverspec-0.5.0 spec/darwin/user_spec.rb
serverspec-0.4.14 spec/darwin/user_spec.rb
serverspec-0.4.13 spec/darwin/user_spec.rb
serverspec-0.4.12 spec/darwin/user_spec.rb
serverspec-0.4.11 spec/darwin/user_spec.rb
serverspec-0.4.10 spec/darwin/user_spec.rb
serverspec-0.4.9 spec/darwin/user_spec.rb
serverspec-0.4.8 spec/darwin/user_spec.rb
serverspec-0.4.7 spec/darwin/user_spec.rb