Sha256: 042a389c22b0013efd7a2dac8a8e271f5748e2a2d0e13976cfde0cf4cfbcbbd6
Contents?: true
Size: 664 Bytes
Versions: 6
Compression:
Stored size: 664 Bytes
Contents
require File.expand_path('../test_helper', File.dirname(__FILE__)) class ConfigurationTest < ActiveSupport::TestCase def test_configuration_presense assert config = SofaGallery.configuration assert_equal ({}), config.upload_options assert_equal 'admin', config.admin_route_prefix assert_equal 'ApplicationController', config.admin_controller assert_equal 'SofaGallery::FormBuilder', config.form_builder end def test_initialization_overrides SofaGallery.configuration.admin_route_prefix = 'admin' assert_equal 'admin', SofaGallery.configuration.admin_route_prefix end end
Version data entries
6 entries across 6 versions & 1 rubygems