diff --git a/test/server/data_adapter/rest_adapter.test.js b/test/server/data_adapter/rest_adapter.test.js
index <HASH>..<HASH> 100644
--- a/test/server/data_adapter/rest_adapter.test.js
+++ b/test/server/data_adapter/rest_adapter.test.js
@@ -217,6 +217,16 @@ describe('RestAdapter', function() {
         'http://example.com/v1/cats?q[]=1&q[]=3');
     });
 
+    it('should not add an extra ? if the query is an empty object', function () {
+      restAdapter.options.default = {
+        host: 'example.com',
+        protocol: 'https',
+        query: {}
+      };
+
+      restAdapter.apiDefaults({body: {}}).should.have.property('url', 'https://example.com');
+    });
+
     it('should use a custom user agent', function () {
       var api = { headers: { 'User-Agent': 'custom user agent' }, body: {} };
test to make sure it doesn't add a ? if there is an empty object for the query parameter