Skip to content

Commit

Permalink
Fix decode error test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaoru Maeda committed Sep 23, 2014
1 parent 72ff149 commit 0f25817
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/connection_spec.rb
Expand Up @@ -237,9 +237,7 @@

it "should raise connection error on decode exception" do
@conn << f.generate(SETTINGS)
frame = f.generate(HEADERS.dup)
frame[3] = 0.chr

frame = f.generate(DATA.dup)
expect { @conn << frame }.to raise_error(ProtocolError)
end

Expand Down

0 comments on commit 0f25817

Please sign in to comment.