blob: c61e6b3eb43321324fe7934ddf620b808f944c77 (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../../../spec_helper', __FILE__)
require File.expand_path('../../fixtures/classes', __FILE__)
describe "Socket.gethostname" do
it "returns the host name" do
Socket.gethostname.should == `hostname`.strip
end
end
|