spec/unit/plugins/root_group_spec.rb in ohai-14.15.0 vs spec/unit/plugins/root_group_spec.rb in ohai-15.0.35

- old
+ new

@@ -14,11 +14,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -require_relative "../../spec_helper.rb" +require "spec_helper" describe Ohai::System, "root_group" do before(:each) do @plugin = get_plugin("root_group") end @@ -53,19 +53,9 @@ @plugin.run expect(@plugin[:root_group]).to eq("root") end end - describe "platform hpux with sys group" do - before(:each) do - allow(@pwnam).to receive(:gid).and_return(3) - allow(@grgid).to receive(:name).and_return("sys") - end - it "should have a root_group of sys" do - @plugin.run - expect(@plugin[:root_group]).to eq("sys") - end - end describe "platform aix with system group" do before(:each) do allow(@grgid).to receive(:name).and_return("system") end it "should have a root_group of system" do