spec/stream_spec.rb in http-2-0.9.1 vs spec/stream_spec.rb in http-2-0.10.0
- old
+ new
@@ -192,9 +192,10 @@
end
it 'should transition to closed if sending RST_STREAM' do
@stream.close
expect(@stream.state).to eq :closed
+ expect(@stream).to be_closed
end
it 'should transition to closed if receiving RST_STREAM' do
@stream.receive RST_STREAM
expect(@stream.state).to eq :closed