Sha256: 10e2f76286dad43ea85e7898890bbf02e2e0cd9bf4a6ea4fa567ddc59789915a

Contents?: true

Size: 932 Bytes

Versions: 43

Compression:

Stored size: 932 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Debian

describe 'Serverspec user matchers of Debian 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.23 spec/debian/user_spec.rb
serverspec-0.6.22 spec/debian/user_spec.rb
serverspec-0.6.21 spec/debian/user_spec.rb
serverspec-0.6.20 spec/debian/user_spec.rb
serverspec-0.6.19 spec/debian/user_spec.rb
serverspec-0.6.18 spec/debian/user_spec.rb
serverspec-0.6.17 spec/debian/user_spec.rb
serverspec-0.6.16 spec/debian/user_spec.rb
serverspec-0.6.15 spec/debian/user_spec.rb
serverspec-0.6.13 spec/debian/user_spec.rb
serverspec-0.6.12 spec/debian/user_spec.rb
serverspec-0.6.11 spec/debian/user_spec.rb
serverspec-0.6.10 spec/debian/user_spec.rb
serverspec-0.6.9 spec/debian/user_spec.rb
serverspec-0.6.8 spec/debian/user_spec.rb
serverspec-0.6.7 spec/debian/user_spec.rb
serverspec-0.6.6 spec/debian/user_spec.rb
serverspec-0.6.5 spec/debian/user_spec.rb
serverspec-0.6.4 spec/debian/user_spec.rb
serverspec-0.6.3 spec/debian/user_spec.rb