aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/stream.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/testing/stream.rb')
-rw-r--r--activesupport/lib/active_support/testing/stream.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/stream.rb b/activesupport/lib/active_support/testing/stream.rb
index d070a1793d..127cfe1e12 100644
--- a/activesupport/lib/active_support/testing/stream.rb
+++ b/activesupport/lib/active_support/testing/stream.rb
@@ -33,7 +33,7 @@ module ActiveSupport
yield
stream_io.rewind
- return captured_stream.read
+ captured_stream.read
ensure
captured_stream.close
captured_stream.unlink