spec/model_spec.rb in cistern-0.5.7 vs spec/model_spec.rb in cistern-0.5.8

- old
+ new

@@ -64,9 +64,11 @@ TypeSpec.new(flag: true).flag.should be_true TypeSpec.new(flag: "0").flag.should be_false TypeSpec.new(flag: "1").flag.should be_true TypeSpec.new(flag: 0).flag.should be_false TypeSpec.new(flag: 1).flag.should be_true + TypeSpec.new(flag: false).should_not be_flag + TypeSpec.new(flag: true).should be_flag end it "should parse an array" do TypeSpec.new(list: []).list.should == [] TypeSpec.new(list: "item").list.should == ["item"]