Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
paddor committed Dec 30, 2023
1 parent 47f3eac commit 32466fe
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion spec/cztop/socket/types_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,24 @@

describe CZTop::Socket::Types do
it 'has constants' do
assert_equal 14, described_class.constants.size
CZTop::Socket::Types::PAIR
CZTop::Socket::Types::PUB
CZTop::Socket::Types::SUB
CZTop::Socket::Types::REQ
CZTop::Socket::Types::REP
CZTop::Socket::Types::DEALER
CZTop::Socket::Types::ROUTER
CZTop::Socket::Types::PULL
CZTop::Socket::Types::PUSH
CZTop::Socket::Types::XPUB
CZTop::Socket::Types::XSUB
CZTop::Socket::Types::STREAM
CZTop::Socket::Types::SERVER
CZTop::Socket::Types::CLIENT
CZTop::Socket::Types::RADIO
CZTop::Socket::Types::DISH
CZTop::Socket::Types::GATHER
CZTop::Socket::Types::SCATTER
end

it 'has names for each type' do
Expand Down

0 comments on commit 32466fe

Please sign in to comment.