diff --git a/spec/multipart/post/composite_read_io_spec.rb b/spec/multipart/post/composite_read_io_spec.rb index 9b38eda..4cfd237 100644 --- a/spec/multipart/post/composite_read_io_spec.rb +++ b/spec/multipart/post/composite_read_io_spec.rb @@ -15,6 +15,10 @@ it "can close all the ios" do subject.close expect(subject.closed?).to be_truthy + + expect do + subject.read + end.to raise_error(IOError) end it "test_full_read_from_several_ios" do