Sha256: df7977952e85d1994ad99bdbd44119cb1b901a6de78348939bc5be8237e63d90

Contents?: true

Size: 414 Bytes

Versions: 7

Compression:

Stored size: 414 Bytes

Contents

# encoding: utf-8
FactoryGirl.define do
  factory :structure_page, class: Structure do
    title 'Structure'
    structure_type StructureType.static_page
    position_type PositionType.menu
    is_visible true
  end

  factory :structure_main, class: Structure do
    title 'Main page'
    slug 'main-page'
    structure_type StructureType.main
    position_type PositionType.default
    is_visible true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.3.6 spec/factories/structures.rb
ab_admin-0.3.5 spec/factories/structures.rb
ab_admin-0.3.4 spec/factories/structures.rb
ab_admin-0.3.3 spec/factories/structures.rb
ab_admin-0.3.2 spec/factories/structures.rb
ab_admin-0.3.1 spec/factories/structures.rb
ab_admin-0.3.0 spec/factories/structures.rb