Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

test/request_test.rb needs StringIO #51

Closed
vangberg opened this Issue · 2 comments

2 participants

@vangberg

When ran alone, test/request_test.rb fails:

% ruby -Ilib -Itest -I./ test/request_test.rb
Loaded suite test/request_test
Started
..E..
Finished in 0.000678 seconds.

  1) Error:
test_parses_POST_params_when_Content_Type_is_form_dataish(RequestTest):
NameError: uninitialized constant RequestTest::StringIO
    test/request_test.rb:14:in `test_parses_POST_params_when_Content_Type_is_form_dataish'

5 tests, 5 assertions, 0 failures, 1 errors

Apparently something else is requiring "stringio". I have added an explicit require to request_test.rb at http://github.com/ichverstehe/sinatra/tree/require-stringio

@rkh
Owner
rkh commented

Fixed by #56.

@rkh
Owner

Fix has been merged.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.