Let say I want to test some math operation
it "1 + 2" do
expr = "1 + 2"
mytest(expr)
end
I would like to do this
it "1 + 2" do
expr = get_description_of_this_spec()
# expr should no hold "1 + 2"
mytest(expr)
end
Let say I want to test some math operation
it "1 + 2" do
expr = "1 + 2"
mytest(expr)
end
I would like to do this
it "1 + 2" do
expr = get_description_of_this_spec()
# expr should no hold "1 + 2"
mytest(expr)
end