From c5a0659237b72e2557625e85b8156468823e9ba7 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Fri, 31 May 2013 15:41:22 -0700 Subject: [PATCH] remove stale test --- test/unit/post_test.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/unit/post_test.rb b/test/unit/post_test.rb index 804693251..dc7b83d63 100644 --- a/test/unit/post_test.rb +++ b/test/unit/post_test.rb @@ -119,12 +119,6 @@ class PostTest < ActiveSupport::TestCase assert(!p1.has_children?, "Old parent should not have a child") assert(p2.has_children?, "New parent should have a child") end - - should "validate that the parent exists" do - post = FactoryGirl.build(:post, :parent_id => 1_000_000) - post.save - assert(post.errors[:parent].any?, "Parent should be invalid") - end end context "Expunging a post with" do