FIX: `deleted` is a computed property of Topic

FIX: deleted is a computed property of Topic

diff --git a/test/javascripts/components/select-kit/pinned-options-test.js b/test/javascripts/components/select-kit/pinned-options-test.js
index a326524..11248cc 100644
--- a/test/javascripts/components/select-kit/pinned-options-test.js
+++ b/test/javascripts/components/select-kit/pinned-options-test.js
@@ -6,7 +6,7 @@ const buildTopic = function(pinned = true) {
   return Topic.create({
     id: 1234,
     title: "Qunit Test Topic",
-    deleted: false,
+    deleted_at: new Date(),
     pinned
   });
 };

GitHub sha: 71b04005

1 Like