summaryrefslogtreecommitdiff
path: root/test/models/node_trash_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/models/node_trash_test.rb')
-rw-r--r--test/models/node_trash_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/models/node_trash_test.rb b/test/models/node_trash_test.rb
index 52069d75..3947f20e 100644
--- a/test/models/node_trash_test.rb
+++ b/test/models/node_trash_test.rb
@@ -161,7 +161,7 @@ class NodeTrashTest < ActiveSupport::TestCase
161 node = create_node_with_published_page 161 node = create_node_with_published_page
162 node.trash!(@user1) 162 node.trash!(@user1)
163 163
164 ids = Node.drafts_and_autosaves.pluck(:id) 164 ids = Node.work_in_progress.pluck(:id)
165 assert_not_includes ids, Node.trash.id 165 assert_not_includes ids, Node.trash.id
166 assert_not_includes ids, node.id 166 assert_not_includes ids, node.id
167 end 167 end