decidim-comments/spec/models/comment_spec.rb in decidim-0.4.3 vs decidim-comments/spec/models/comment_spec.rb in decidim-0.4.4
- old
+ new
@@ -24,10 +24,10 @@
it "has an associated commentable" do
expect(subject.commentable).to eq(commentable)
end
- it "has an associated commentable" do
+ it "has an associated root commentable" do
expect(subject.root_commentable).to eq(commentable)
end
it "has a up_votes association returning comment votes with weight 1" do
expect(subject.up_votes.count).to eq(1)