Sha256: a59f9b5347a4c785132a46ff7de0b83e5a8350a70d4018e865ca5c7d0a268bf7
Contents?: true
Size: 714 Bytes
Versions: 8
Compression:
Stored size: 714 Bytes
Contents
require File.expand_path('../test_helper', File.dirname(__FILE__)) class CmsConfigurationTest < ActiveSupport::TestCase def test_configuration_presense assert config = ComfortableMexicanSofa.configuration assert_equal 'ComfortableMexicanSofa', config.cms_title assert_equal 'ComfortableMexicanSofa::HttpAuth', config.authentication assert_equal nil, config.seed_data_path assert_equal 'cms-admin', config.admin_route_prefix assert_equal '/cms-admin/pages', config.admin_route_redirect end def test_initialization_overrides ComfortableMexicanSofa.configuration.cms_title = 'New Title' assert_equal 'New Title', ComfortableMexicanSofa.configuration.cms_title end end
Version data entries
8 entries across 8 versions & 1 rubygems