class Serverspec::Type::User

Public Instance Methods

belongs_to_group?(group) click to toggle source
# File lib/serverspec/type/user.rb, line 7
def belongs_to_group?(group)
  @runner.check_user_belongs_to_group(@name, group)
end
belongs_to_primary_group?(group) click to toggle source
# File lib/serverspec/type/user.rb, line 11
def belongs_to_primary_group?(group)
  @runner.check_user_belongs_to_primary_group(@name, group)
end
exists?() click to toggle source
# File lib/serverspec/type/user.rb, line 3
def exists?
  @runner.check_user_exists(@name)
end
has_authorized_key?(key) click to toggle source
# File lib/serverspec/type/user.rb, line 27
def has_authorized_key?(key)
  @runner.check_user_has_authorized_key(@name, key)
end
has_home_directory?(path) click to toggle source
# File lib/serverspec/type/user.rb, line 19
def has_home_directory?(path)
  @runner.check_user_has_home_directory(@name, path)
end
has_login_shell?(shell) click to toggle source
# File lib/serverspec/type/user.rb, line 23
def has_login_shell?(shell)
  @runner.check_user_has_login_shell(@name, shell)
end
has_uid?(uid) click to toggle source
# File lib/serverspec/type/user.rb, line 15
def has_uid?(uid)
  @runner.check_user_has_uid(@name, uid)
end