From 6e7d26128cc8c32401f91c1b5a4af47ad7bc4174 Mon Sep 17 00:00:00 2001 From: nanaya Date: Mon, 4 Nov 2024 07:39:42 +0900 Subject: [PATCH] Remove commented out test I don't think it'll ever return. --- test/controllers/comment_controller_test.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/controllers/comment_controller_test.rb b/test/controllers/comment_controller_test.rb index 2d8028e5..d7226127 100644 --- a/test/controllers/comment_controller_test.rb +++ b/test/controllers/comment_controller_test.rb @@ -55,15 +55,6 @@ class CommentControllerTest < ActionController::TestCase CONFIG["member_comment_limit"] = old_member_comment_limit end - def test_create_do_not_bump_post - # FIXME: this functionality has been disabled since forever. - # post :create, { :comment => { :post_id => 1, :body => "hoge" }, :commit => "Post without bumping" }, :user_id => 1 - # post = Post.find(1) - # binding.pry - # assert_equal(1, post.comments.size) - # assert_nil(post.last_commented_at) - end - def test_show comment = create_comment(1, "hoge") get :show, params: { id: comment.id }, session: { user_id: 4 }