Sha256: bda7c9a23fe6c2025966c9e4ea8680e6d97507690cd932d2beb54db5c6d3f4c5
Contents?: true
Size: 439 Bytes
Versions: 9
Compression:
Stored size: 439 Bytes
Contents
# Dummy node class for the tests class Page < Noodall::Node #sub_templates PageA, PageB, ArticlesList, LandingPage, EventsList searchable_keys :title, :description, :keywords, :body root_template! main_slots 1 small_slots 4 wide_slots 3 end # And a factory to build it Factory.define :page do |node| node.title { Faker::Lorem.words(3).join(' ') } node.body { Faker::Lorem.paragraph } node.published_at { Time.now } end
Version data entries
9 entries across 9 versions & 1 rubygems