thinkerbot/shell_test — Issue #14: Timer should remember last times
Author: thinkerbot
Created: 2011-10-24 14:22:22+00:00
State: open

Problem is that after a run Session#summary raises an error because the elapsed time can no longer be calculated. Results in an error like:

TypeError: nil can't be coerced into Float
/Users/chiangs/.rvm/gems/ruby-1.9.2-p290@linecook/gems/shell_test-0.3.0/lib/shell_test/shell_methods/timer.rb:36:in `-'
/Users/chiangs/.rvm/gems/ruby-1.9.2-p290@linecook/gems/shell_test-0.3.0/lib/shell_test/shell_methods/timer.rb:36:in `elapsed_time'
...