Enable passing legislation comment test

It was disabled in commit 792b15b22 for unknown reasons.
This commit is contained in:
Javi Martín
2021-09-07 14:57:53 +02:00
parent 6ddb22c1ea
commit 695d5d8765

View File

@@ -131,7 +131,7 @@ describe "Commenting legislation questions" do
expect(c2.body).to appear_before(c3.body)
end
xscenario "Creation date works differently in roots and in child comments, even when sorting by confidence_score" do
scenario "Creation date works differently in roots and in child comments, even when sorting by confidence_score" do
old_root = create(:comment, commentable: legislation_annotation, created_at: Time.current - 10)
new_root = create(:comment, commentable: legislation_annotation, created_at: Time.current)
old_child = create(:comment, commentable: legislation_annotation, parent_id: new_root.id, created_at: Time.current - 10)