Changed tempAuth destroy to set to undefined
diff --git a/helpers/build.js b/helpers/build.js
index fb8e3cc..13936d8 100644
--- a/helpers/build.js
+++ b/helpers/build.js
@@ -32,7 +32,7 @@
             if (ok(client).getIfExists('tempAuth.isValid')) {
                 // if ad-hoc authentication was set in the client, get the token and destroy the auth
                 token = client.tempAuth.token
-                client.tempAuth.destroy()
+                client.tempAuth = undefined
             } else if (ok(client).getIfExists('currentUser.auth.isValid')) {
                 // defaults to using the current user's token
                 token = client.currentUser.auth.token
diff --git a/tests/lib/client.auth.test.js b/tests/lib/client.auth.test.js
index bc053b5..423393b 100644
--- a/tests/lib/client.auth.test.js
+++ b/tests/lib/client.auth.test.js
@@ -265,8 +265,8 @@
         })
     })
 
-    it('client.tempAuth should be invalid after making a request ad-hoc authentication', function(done) {
-        client.tempAuth.isValid.should.be.false()
+    it('client.tempAuth should be destroyed after making a request with ad-hoc authentication', function(done) {
+        should(client.tempAuth).be.undefined()
         done()
     })