Permalink
Browse files

Removed close test, base stream will call dispose when closed

  • Loading branch information...
1 parent 2fcd3bb commit 037090b8bef9dc4b3eff0bbcee0535dcb5467159 @grumpydev grumpydev committed Mar 20, 2012
Showing with 0 additions and 13 deletions.
  1. +0 −13 src/Nancy.Tests/Unit/IO/RequestStreamFixture.cs
@@ -364,19 +364,6 @@ public void Should_return_read_byte_from_underlaying_stream_when_readbyte_is_cal
}
[Fact]
- public void Should_close_the_underlaying_stream_when_being_closed()
- {
- // Given
- var request = RequestStream.FromStream(this.stream, 0, 1, false);
-
- // When
- request.Close();
-
- // Then
- A.CallTo(() => this.stream.Close()).MustHaveHappened();
- }
-
- [Fact]
public void Should_read_from_underlaying_stream_when_read_is_called()
{
// Given

0 comments on commit 037090b

Please sign in to comment.