Sha256: 77e2c930681a1e2c9c2cc6206aab7a2ae71ca18345c5a55a4216fd252b3139f4

Contents?: true

Size: 525 Bytes

Versions: 5

Compression:

Stored size: 525 Bytes

Contents

class ConfigDataset < Dataset::Base
  def load
    # Simulates the defaults on bootstrapped Radiant instances
    Radiant::Config['admin.title'] = 'Radiant CMS' 
    Radiant::Config['admin.subtitle'] = 'Publishing for Small Teams'
    Radiant::Config['defaults.page.parts'] = 'body, extended'
    Radiant::Config['defaults.page.status'] = 'draft'
    Radiant::Config['defaults.page.filter'] = nil
    Radiant::Config['defaults.page.fields'] = 'keywords, description'
    Radiant::Config['session_timeout'] = 2.weeks
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
radiant-rails3-0.1 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.3 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.2 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.1 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1 spec/datasets/config_dataset.rb