Test fails with new json release (2.0) which fixes parse error
Fixed in Releases:
Found in Releases:
The test uses 'true' as the response body which is now valid json in the 2.0 version of the ruby json gem. It raised a parse error before which was actually in correct.
Here's the test failure:
1) Error: Base::TestBase#test_process_response_returns_string: RuntimeError: can't modify frozen TrueClass /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:27:in `response_set_vars' /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rest-client-1.8.0/lib/restclient/response.rb:16:in `create' /home/vagrant/Projects/runcible/lib/runcible/base.rb:147:in `rest_client_response' /home/vagrant/Projects/runcible/lib/runcible/base.rb:135:in `process_response' test/unit/base_test.rb:38:in `test_process_response_returns_string'