Sha256: 18297a621b3f670a5d5822ceb4a4d8b9fe99fa52ca1f82c6b81697987a54d190

Contents?: true

Size: 343 Bytes

Versions: 12

Compression:

Stored size: 343 Bytes

Contents

# Dummy node class for the tests
class Page < Noodall::Node
  #sub_templates PageA, PageB, ArticlesList, LandingPage, EventsList
  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.published_at { Time.now }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
noodall-core-0.3.4 spec/factories/node.rb
noodall-core-0.3.3 spec/factories/node.rb
noodall-core-0.3.2 spec/factories/node.rb
noodall-core-0.3.1 spec/factories/node.rb
noodall-core-0.3.0 spec/factories/node.rb
noodall-core-0.2.1 spec/factories/node.rb
noodall-core-0.2.0 spec/factories/node.rb
noodall-core-0.1.4 spec/factories/node.rb
noodall-core-0.1.3 spec/factories/node.rb
noodall-core-0.1.2 spec/factories/node.rb
noodall-core-0.1.1 spec/factories/node.rb
noodall-core-0.1.0 spec/factories/node.rb