# File lib/specinfra/command/darwin/base/user.rb, line 3 def check_has_home_directory(user, path_to_home) "#{get_home_directory(user)} | grep -E '^#{escape(path_to_home)}$'" end