spec/lib/ratatouille/ratifier_spec.rb in ratatouille-1.4.2 vs spec/lib/ratatouille/ratifier_spec.rb in ratatouille-1.4.3

- old
+ new

@@ -75,15 +75,9 @@ it "should create an error when called within a Ratifier block" do test = RatifierTest.new(Object.new) do validation_error("some error") end test.errors_array.should have(1).String - - test = RatifierTest.new({}) do - validation_error("some error") - validation_error("another error") - end - test.errors_array.should have(2).String end it "should not create an error when called with a non-string argument" do test = RatifierTest.new({}) do validation_error({})