diff options
| -rw-r--r-- | spec/ruby/library/socket/socket/gethostname_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/socket/socket/gethostname_spec.rb b/spec/ruby/library/socket/socket/gethostname_spec.rb index 4b79747b27..bdc47dc611 100644 --- a/spec/ruby/library/socket/socket/gethostname_spec.rb +++ b/spec/ruby/library/socket/socket/gethostname_spec.rb @@ -3,6 +3,6 @@ require_relative '../fixtures/classes' describe "Socket.gethostname" do it "returns the host name" do - Socket.gethostname.should == `hostname`.strip + Socket.gethostname.should == `uname -n`.strip end end |
