Sha256: c5919770638e3f26a5962f36b9f11af18d96bb00182e13e14c491c9a28fa81eb

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

FactoryGirl.define do
  factory :page, class: MegaBar::Page do
    id 1
    path '/mega-bar/models'
    name 'Factory Models Page'
    factory :page_with_all do
      make_layout_and_block = 'y'
      model_id = 1
      base_name = 'Factory Models'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mega_bar-0.5.2 spec/internal/factories/page.rb
mega_bar-0.5.1 spec/internal/factories/page.rb