Enable passing legislation comment test
It was disabled in commit 792b15b22 for unknown reasons.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user