Sha256: 4cacdbdd9d5883c39a74d2ec4ffccd6e643f691a65c284fcd780b6570566521c
Contents?: true
Size: 482 Bytes
Versions: 6
Compression:
Stored size: 482 Bytes
Contents
class ForumPagesDataset < Dataset::Base uses :home_page, :users def load create_page "Ordinary", :created_by => users(:admin) create_page "Commentable", :commentable => true, :comments_closed => false, :created_by => users(:admin) create_page "Uncommentable", :commentable => false, :comments_closed => false, :created_by => users(:admin) create_page "Comments closed", :commentable => true, :comments_closed => true, :created_by => users(:admin) end end
Version data entries
6 entries across 6 versions & 1 rubygems