Sha256: 4b1a419324e82e312abdf2a718408ee6f8464c5ad8a068b1b7b182a3f4bf70d8
Contents?: true
Size: 290 Bytes
Versions: 27
Compression:
Stored size: 290 Bytes
Contents
Given /^There are comments$/ do create_comments end def create_comments(commentable = nil) commentable ||= Factory(:user) comment = Factory(:comment, :commentable => commentable) child = Factory(:comment, :commentable => commentable) child.move_to_child_of(comment) comment end
Version data entries
27 entries across 27 versions & 5 rubygems