describe “Test” do
if ERRORS #execute custom code here
it “should explode” do
#Test.explode --> “fizzle”
Test.explode.should == “KABOOM”
Let’s say I have the above test and the validation fails and I want
some sort of custom action to take place. Is there a way to do that?
This is a very simplified example but I am just curious if it is