Sha256: 8df8da3907f6fb25a5eed0cce86e950de2c00bfde8d703d70c0918ce23516942
Contents?: true
Size: 768 Bytes
Versions: 8
Compression:
Stored size: 768 Bytes
Contents
require "test_helper" class MountainViewConfigurationTest < ActiveSupport::TestCase test "default value for included_stylesheets is an empty array" do assert_equal MountainView::Configuration.new.included_stylesheets, [] end test "default value for styleguide_path is nil" do assert_nil MountainView::Configuration.new.styleguide_path end test "set custom included_stylesheets" do config = MountainView::Configuration.new config.included_stylesheets = ["global", "fonts"] assert_equal config.included_stylesheets, ["global", "fonts"] end test "set custom styleguide_path" do config = MountainView::Configuration.new config.styleguide_path = "style-guide" assert_equal config.styleguide_path, "style-guide" end end
Version data entries
8 entries across 8 versions & 1 rubygems