Sha256: 46ed86a25f8c7378b29a8a810c7ad226e4662adf17f32cdd6a871a100588d49b

Contents?: true

Size: 455 Bytes

Versions: 16

Compression:

Stored size: 455 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['session_timeout'] = 2.weeks
  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.2.2 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.2.1 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.2 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.9 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.8 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.7 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.6 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.5 spec/datasets/config_dataset.rb
radiantcms-couchrest_model-0.1.4 spec/datasets/config_dataset.rb
radiant-0.9.1 spec/datasets/config_dataset.rb
radiant-0.8.2 spec/datasets/config_dataset.rb
radiant-0.9.0.rc2 spec/datasets/config_dataset.rb
radiant-rc-0.9.0 spec/datasets/config_dataset.rb
radiant-0.8.1 spec/datasets/config_dataset.rb
radiant-0.8.0 spec/datasets/config_dataset.rb