spec/test_myrrha.rb in myrrha-1.2.2 vs spec/test_myrrha.rb in myrrha-2.0.0

- old
+ new

@@ -17,12 +17,9 @@ rules.coerce("12", Numeric).should eq(12) rules.coerce("12.2", Numeric).should eq(12.2) lambda{ rules.coerce(true, Integer) }.should raise_error(Myrrha::Error, "Unable to coerce `true` to Integer") - lambda{ - rules.coerce("12.2", Integer) - }.should raise_error(Myrrha::Error, /^Unable to coerce `12.2` to Integer \(invalid value /) end it "should support upon rules" do rules = Myrrha.coercions do |g| g.coercion(Integer, Symbol){|s,t| :coercion}