Fix predicate to assert if object is same
This commit is contained in:
parent
cbb7dc21a8
commit
9f648262f9
@ -89,7 +89,7 @@ with_feature :ancillary_data, :pktinfo do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'is not the same object as the input Addrinfo' do
|
it 'is not the same object as the input Addrinfo' do
|
||||||
@addr.should_not == @source
|
@addr.should_not.equal? @source
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ with_feature :ancillary_data, :pktinfo do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'is not the same object as the input Addrinfo' do
|
it 'is not the same object as the input Addrinfo' do
|
||||||
@addr.should_not == @dest
|
@addr.should_not.equal? @dest
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user