Sha256: 488398eacc61c0cd62b2027ed2c7df461bad7165b18cdb13976dd13b7f8e8e41

Contents?: true

Size: 510 Bytes

Versions: 3

Compression:

Stored size: 510 Bytes

Contents

require File.expand_path('../test_helper', File.dirname(__FILE__))

class CmsConfigurationTest < ActiveSupport::TestCase
  
  def test_configuration_presense
    assert config = LucyCMS.configuration
    assert_equal nil, config.seed_data_path
    assert_equal 'cms-admin', config.admin_route_prefix
    assert_equal '/cms-admin/pages', config.admin_route_redirect
    assert_equal true, config.disable_irb
    assert_equal true, config.enable_caching
  end
  
  def test_initialization_overrides
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lucy_cms-0.0.3 test/unit/cms_configuration_test.rb
lucy_cms-0.0.2 test/unit/cms_configuration_test.rb
lucy_cms-0.0.1 test/unit/cms_configuration_test.rb