Sha256: de508d571aff88c67806d3f33252b0de529d0913da1b15161b22a7f919de1016
Contents?: true
Size: 468 Bytes
Versions: 10
Compression:
Stored size: 468 Bytes
Contents
require 'pathname' require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper' describe DataMapper::Validate::ValidationErrors do before(:each) do @errors = DataMapper::Validate::ValidationErrors.new end it "should report that it is empty on first creation" do @errors.empty?.should == true end it "should continue to report that it is empty even after being checked" do @errors.on(:foo) @errors.empty?.should == true end end
Version data entries
10 entries across 10 versions & 1 rubygems