Sha256: 03daeb584287cc8296957cea15a25e53673298afae2a03277530f25d9b26f76a
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
require File.expand_path('../test_helper', File.dirname(__FILE__)) class ConfigurationTest < ActiveSupport::TestCase def test_configuration assert config = ComfyCarousel.configuration assert_equal 'admin', config.admin_route_prefix assert_equal 'ApplicationController', config.admin_controller assert_equal 'ComfyCarousel::FormBuilder', config.form_builder end def test_initialization_overrides ComfyCarousel.config.admin_route_prefix = 'new-admin' assert_equal 'new-admin', ComfyCarousel.config.admin_route_prefix end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comfy_carousel-0.0.1 | test/unit/configuration_test.rb |