diff options
Diffstat (limited to 'spec/ruby/library/socket/unixsocket/socketpair_spec.rb')
| -rw-r--r-- | spec/ruby/library/socket/unixsocket/socketpair_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/socket/unixsocket/socketpair_spec.rb b/spec/ruby/library/socket/unixsocket/socketpair_spec.rb new file mode 100644 index 0000000000..a8bfb412e5 --- /dev/null +++ b/spec/ruby/library/socket/unixsocket/socketpair_spec.rb @@ -0,0 +1,7 @@ +require_relative '../spec_helper' + +describe "UNIXSocket.socketpair" do + it "is an alias of UNIXSocket.pair" do + UNIXSocket.method(:socketpair).should == UNIXSocket.method(:pair) + end +end |
