Sha256: cb440985709cfc208af4812aee58bafc27d19c5d4609cd8014b32c6b975cf4a3
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
require_relative '../test_helper' class ConfigurationTest < ActiveSupport::TestCase def test_configuration assert config = ComfyBlog.configuration assert_equal 10, config.posts_per_page assert_equal 'comfy/blog/application', config.app_layout assert_equal 'blog', config.public_blog_path end def test_initialization_overrides ComfyBlog.config.posts_per_page = 5 assert_equal 5, ComfyBlog.config.posts_per_page end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
comfy_blog-2.0.2 | test/lib/configuration_test.rb |
comfy_blog-2.0.1 | test/lib/configuration_test.rb |
comfy_blog-2.0.0 | test/lib/configuration_test.rb |