summaryrefslogtreecommitdiff
path: root/test/spec_body_proxy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec_body_proxy.rb')
-rw-r--r--test/spec_body_proxy.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec_body_proxy.rb b/test/spec_body_proxy.rb
index 6be79f8b..d3853e1e 100644
--- a/test/spec_body_proxy.rb
+++ b/test/spec_body_proxy.rb
@@ -63,8 +63,8 @@ describe Rack::BodyProxy do
body.respond_to?(:to_ary).must_equal true
proxy = Rack::BodyProxy.new(body) { }
- proxy.respond_to?(:to_ary).must_equal false
- proxy.respond_to?("to_ary").must_equal false
+ x = [proxy]
+ assert_equal x, x.flatten
end
it 'not close more than one time' do