Sha256: 67245252cc515eb0c5f096d0c8fde353ffa90c32da4252ce76ea5c26042d278d

Contents?: true

Size: 932 Bytes

Versions: 43

Compression:

Stored size: 932 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Gentoo

describe 'Serverspec user matchers of Gentoo 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.4.6 spec/gentoo/user_spec.rb
serverspec-0.4.5 spec/gentoo/user_spec.rb
serverspec-0.4.4 spec/gentoo/user_spec.rb