Sha256: 2f679253468514b88e3d74f351dc85b240a0b30dcc8955c85d0a516ae31d4d90

Contents?: true

Size: 198 Bytes

Versions: 50

Compression:

Stored size: 198 Bytes

Contents

module KuhsaftSpecHelper
  def create_page_tree
    page1 = create(:page)
    page2 = create(:page, :parent => page1)
    page3 = create(:page, :parent => page2)
    [page1, page2, page3]
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
kuhsaft-1.7.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.6.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.5.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.4.3 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.4.2 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.4.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.4.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.3.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.15 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.14 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.13 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.12 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.11 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.10 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.9 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.8 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.7 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.6 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.5 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.2.4 spec/support/kuhsaft_spec_helper.rb