lib/specinfra/command/windows/base/user.rb in specinfra-2.0.0.beta11 vs lib/specinfra/command/windows/base/user.rb in specinfra-2.0.0.beta12
- old
+ new
@@ -5,10 +5,10 @@
using 'find_user.ps1'
exec "(FindUser -userName '#{user_id}'#{domain.nil? ? "" : " -domain '#{domain}'"}) -ne $null"
end
end
- def check_is_belonging_to_group(user, group)
+ def check_belongs_to_group(user, group)
user_id, user_domain = windows_account user
group_id, group_domain = windows_account group
Backend::PowerShell::Command.new do
using 'find_user.ps1'
using 'find_group.ps1'