lib/specinfra/command/solaris/v10/user.rb in specinfra-2.0.0.beta11 vs lib/specinfra/command/solaris/v10/user.rb in specinfra-2.0.0.beta12

- old
+ new

@@ -1,6 +1,6 @@ class Specinfra::Command::Solaris::V10::User < Specinfra::Command::Solaris::Base::User - def check_is_belonging_to_group(user, group) + def check_belongs_to_group(user, group) "id -ap #{escape(user)} | grep -- #{escape(group)}" end def check_has_authorized_key(user, key) key.sub!(/\s+\S*$/, '') if key.match(/^\S+\s+\S+\s+\S*$/)