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-2.2.6 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.5 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.4 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.3 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.2 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.2.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.1.2 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.1.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.1.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.8.6 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.8.5 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.0.3 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.0.2 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.8.4 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.8.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.0.1 spec/support/kuhsaft_spec_helper.rb
kuhsaft-2.0.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.8.0 spec/support/kuhsaft_spec_helper.rb
kuhsaft-1.7.1 spec/support/kuhsaft_spec_helper.rb