Sha256: 2c124a8a7493c4bafb46bb5e1cc6cd28691809bb6d37a33472d521ea8b9a1eae
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 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 false, config.auto_publish_comments 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-1.1.1 | test/lib/configuration_test.rb |
comfy_blog-1.1.0 | test/lib/configuration_test.rb |
comfy_blog-1.0.0 | test/lib/configuration_test.rb |