Sha256: cc9e988a438bff1a4c065fa7f5d786991a62fb07b27e770a7c6a40f0ade541d9
Contents?: true
Size: 623 Bytes
Versions: 26
Compression:
Stored size: 623 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper.rb' describe "ComponentDef" do before(:each) do @cd = Guilded::ComponentDef.new( 'grid' ) @cd_exclude = Guilded::ComponentDef.new( 'grid', { :exclude_css => true, :exclude_js => true } ) end it "should exclude css if specified" do @cd_exclude.should be_exclude_css end it "should exclude js if specified" do @cd_exclude.should be_exclude_js end it "should not exclude css unless specified" do @cd.should_not be_exclude_css end it "should not exclude js unless specified" do @cd.should_not be_exclude_js end end
Version data entries
26 entries across 26 versions & 1 rubygems