Sha256: 3c56cee38fabde69824f351bfe9d5b4955cc706216037bcd427f6d5b2a053f2c

Contents?: true

Size: 401 Bytes

Versions: 32

Compression:

Stored size: 401 Bytes

Contents

class MarkupPagesDataset < Dataset::Base
  uses :home_page
  
  def load
    create_page "Textile" do
      create_page_part :textile_body, :name => "body", :filter_id => "Textile", :content => "Some *Textile* content."
    end
    create_page "Markdown" do
      create_page_part :markdown_body, :name => "body", :filter_id => "Markdown", :content => "Some **Markdown** content."
    end
  end
  
end

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
radiant-1.0.1 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0.rc5 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0.rc4 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0.rc3 spec/datasets/markup_pages_dataset.rb
kajam-1.0.3.rc2 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0.rc2 spec/datasets/markup_pages_dataset.rb
radiant-1.0.0.rc1 spec/datasets/markup_pages_dataset.rb
radiant-rails3-0.1 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.2.4 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.2.2 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.2.1 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.2 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.9 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.8 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.7 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.6 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.5 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.4 spec/datasets/markup_pages_dataset.rb
radiantcms-couchrest_model-0.1.3 spec/datasets/markup_pages_dataset.rb