Sha256: c06e65bac3194ba9067a15e82a3e8539762d09527f170f47b9408a434f0892d6
Contents?: true
Size: 636 Bytes
Versions: 7
Compression:
Stored size: 636 Bytes
Contents
require 'test_helper' class ComponentDefTest < Test::Unit::TestCase context "The ComponentDef" do setup do @cd = Guilded::ComponentDef.new( 'grid' ) @cd_exclude = Guilded::ComponentDef.new( 'grid', { :exclude_css => true, :exclude_js => true } ) end should "exclude css if specified" do assert @cd_exclude.exclude_css? end should "exclude js if specified" do assert @cd_exclude.exclude_js? end should "not exclude css unless specified" do assert !@cd.exclude_css? end should "not exclude js unless specified" do assert !@cd.exclude_js? end end end
Version data entries
7 entries across 7 versions & 1 rubygems