Sha256: 3a5338ddd2b5b0764b06071c81e4df70352c359ae0122e778217943c135e1821

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.6 test/unit/cms_configuration_test.rb
lucy_cms-0.0.5 test/unit/cms_configuration_test.rb
lucy_cms-0.0.4 test/unit/cms_configuration_test.rb