Right now, I am simply using assert_equal
twice - before and after the execution, and it does not hurt much. But I have used RSpec before and liked the readability of the expect{}.to change
idiom. I cannot simply use RSpec in this project - not my project, not my stack.
Is there is a more idiomatic way to express an expected change/delta with Test::Unit?
Thank you.
I am working with Ruby 1.8.7