aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/etc/getgrgid_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/etc/getgrgid_spec.rb')
-rw-r--r--spec/ruby/library/etc/getgrgid_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/ruby/library/etc/getgrgid_spec.rb b/spec/ruby/library/etc/getgrgid_spec.rb
index c7bd55b20e..14da5e041d 100644
--- a/spec/ruby/library/etc/getgrgid_spec.rb
+++ b/spec/ruby/library/etc/getgrgid_spec.rb
@@ -46,13 +46,6 @@ platform_is_not :windows do
gr.name.should == @name
end
- it "returns the Group for a given gid if it exists" do
- grp = Etc.getgrgid(@gid)
- grp.should be_kind_of(Struct::Group)
- grp.gid.should == @gid
- grp.name.should == @name
- end
-
it "raises if the group does not exist" do
-> { Etc.getgrgid(9876)}.should raise_error(ArgumentError)
end