Sha256: ead55f0fe86546adec9d1a67398ea2ae37ec6d71f3478707e0f737883ec0dc43
Contents?: true
Size: 459 Bytes
Versions: 54
Compression:
Stored size: 459 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe "error_on" do it "should provide a message including the name of what the error is on" do have(1).error_on(:whatever).description.should == "should have 1 error on :whatever" end end describe "errors_on" do it "should provide a message including the name of what the error is on" do have(2).errors_on(:whatever).description.should == "should have 2 errors on :whatever" end end
Version data entries
54 entries across 54 versions & 11 rubygems