platform_is_not :darwin, :freebsd do
it "ignores its argument" do
lambda { Etc.getgrgid("foo") }.should raise_error(TypeError)
Etc.getgrgid(42)
Etc.getgrgid(9876)
end
end
|
Pastie
Support Pastie
or read my
Pastie << self
blog
platform_is_not :darwin, :freebsd do
it "ignores its argument" do
lambda { Etc.getgrgid("foo") }.should raise_error(TypeError)
Etc.getgrgid(42)
Etc.getgrgid(9876)
end
end
|