blob: 7157fd3f2e01d26e189cb4cdaa508dceab4cd86b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require_relative '../../spec_helper'
require 'etc'
platform_is_not :windows do
describe "Etc.passwd" do
it "returns a Etc::Passwd struct" do
passwd = Etc.passwd
begin
passwd.should be_an_instance_of(Etc::Passwd)
ensure
Etc.endpwent
end
end
end
end
|