Iâ€™m trying to use Benchmark, to return the wait time for a search in an
application, and thought I could fairly neatly wrap up the wait time
However, when I run this test from my harness, I get the following in
LocalJumpError: no block given
measure' ./Tests/test_audittrail.rb:119 ./Tests/test_audittrail.rb:61:ineach’
What confuses me further is that line 61 reads:
message_type.each do |link|
which when I diff it against my last version, I can see has not changed.
What Iâ€™d like to know is:
Am I off the mark wrapping the wait in a measure and then logging it?
Why does my each statement now fail?