Sha256: bd51be631bffb57219487a21f19c00328dc24bbe60d1ff62732a61d082ed8c3b

Contents?: true

Size: 191 Bytes

Versions: 16

Compression:

Stored size: 191 Bytes

Contents

module QbrickSpecHelper
  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

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 spec/support/qbrick_spec_helper.rb
qbrick-2.7 spec/support/qbrick_spec_helper.rb
qbrick-2.6.10 spec/support/qbrick_spec_helper.rb
qbrick-2.6.9 spec/support/qbrick_spec_helper.rb
qbrick-2.6.8 spec/support/qbrick_spec_helper.rb
qbrick-2.6.7 spec/support/qbrick_spec_helper.rb
qbrick-2.6.6 spec/support/qbrick_spec_helper.rb
qbrick-2.6.5 spec/support/qbrick_spec_helper.rb
qbrick-2.6.4 spec/support/qbrick_spec_helper.rb
qbrick-2.6.3 spec/support/qbrick_spec_helper.rb
qbrick-2.6.2 spec/support/qbrick_spec_helper.rb
qbrick-2.6.1 spec/support/qbrick_spec_helper.rb
qbrick-2.6.0 spec/support/qbrick_spec_helper.rb
qbrick-2.5.2 spec/support/qbrick_spec_helper.rb
qbrick-2.5.1 spec/support/qbrick_spec_helper.rb
qbrick-2.5.0 spec/support/qbrick_spec_helper.rb