diff --git a/test/unit/basic_test.rb b/test/unit/basic_test.rb
index <HASH>..<HASH> 100644
--- a/test/unit/basic_test.rb
+++ b/test/unit/basic_test.rb
@@ -19,14 +19,14 @@ class BasicTest < Test::Unit::TestCase
       client.use_oauth2_auth = use_auth
       %i[get delete head].each do |method|
         stub = stub_request(method, /feed-test/).to_timeout
-        assert_raise RestClient::RequestTimeout do
+        assert_raise(RestClient::RequestTimeout, RestClient::Exceptions::OpenTimeout) do
           client.send(method, stubbed_path, format_headers)
           assert_requested stub
         end
       end
       %i[post put patch].each do |method|
         stub = stub_request(method, /feed-test/).to_timeout
-        assert_raise RestClient::RequestTimeout do
+        assert_raise(RestClient::RequestTimeout, RestClient::Exceptions::OpenTimeout) do
           client.send(method, stubbed_path, FHIR::Patient.new, format_headers)
           assert_requested stub
         end
Test handles multiple exception types depending on version of RestClient.