From d5cf4cd8bd39f5e64991f79261cc4623feb73f3e Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 18 Oct 2013 15:04:08 -0400 Subject: [PATCH] #1968: Remove old test --- test/unit/post_test.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/unit/post_test.rb b/test/unit/post_test.rb index afc2aef25..af0b48343 100644 --- a/test/unit/post_test.rb +++ b/test/unit/post_test.rb @@ -454,18 +454,6 @@ class PostTest < ActiveSupport::TestCase setup do @parent = FactoryGirl.create(:post) end - - context "that has been deleted" do - setup do - @parent.update_column(:is_deleted, true) - end - - should "not update the parent relationships" do - @post.update_attributes(:tag_string => "aaa parent:#{@parent.id}") - @post.reload - assert_nil(@post.parent_id) - end - end should "update the parent relationships for both posts" do @post.update_attributes(:tag_string => "aaa parent:#{@parent.id}")