Actions
Bug #27681
closedrest-client 2.1.0 breaks tests
Description
RuntimeError: unknown RestClient::Response.create version (2.1.0, arity -4)
test/active_support_test_case_helper.rb:225:in `fake_rest_client_response'
test/unit/proxy_api/bmc_test.rb:101:in `block in <class:ProxyApiBmcTest>' (RuntimeError)
/home/jenkins/workspace/test_develop_pr_core/database/postgresql/ruby/2.3/slave/fast/test/active_support_test_case_helper.rb:225
Added by Tomer Brisker over 5 years ago
Actions
Fixes #27681 - Fix test for rest-client 2.1 support
The arity of Response.create funciton changed in 2.1, causing an old
workaround to allow working with bot 1.8 and 2.x to fail. Since we
require >2.0 now there is no more need for the check for older versions.