Sha256: 6caf9eeed8d94c088db681231c762accb3de3e1084fd10c2c8c621559f0d5cfc

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require File.expand_path('../../fixtures/classes', __FILE__)

describe "Socket.gethostname" do
  # This currently works in Unix and Windows. Edit the helper
  # to add other platforms.
  it "returns the host name" do
    Socket.gethostname.should == hostname
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rubysl-socket-1.0.1 spec/socket/gethostname_spec.rb
rubysl-socket-2.0.1 spec/socket/gethostname_spec.rb
rubysl-socket-1.0.0 spec/socket/gethostname_spec.rb
rubysl-socket-2.0.0 spec/socket/gethostname_spec.rb