aboutsummaryrefslogtreecommitdiffstats
path: root/test/plum/test_stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/plum/test_stream.rb')
-rw-r--r--test/plum/test_stream.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plum/test_stream.rb b/test/plum/test_stream.rb
index ab0a135..19162e7 100644
--- a/test/plum/test_stream.rb
+++ b/test/plum/test_stream.rb
@@ -3,10 +3,10 @@ require "test_helper"
using Plum::BinaryString
class StreamTest < Minitest::Test
- def test_stream_state_illegal_frame_type
+ def test_stream_illegal_frame_type
open_new_stream {|stream|
assert_connection_error(:protocol_error) {
- stream.process_frame(Frame.new(type: :rst_stream, stream_id: stream.id, payload: "\x00\x00\x00\x00"))
+ stream.process_frame(Frame.new(type: :goaway, stream_id: stream.id, payload: "\x00\x00\x00\x00"))
}
}
end