mattsears/nyan-cat-formatter

in `*': negative argument (ArgumentError)

Closed this issue · 2 comments

$rspec --format NyanCatFormatter

Pending:
  StaticHelper add some examples to (or delete) app/spec/helpers/static_helper_spec.rb
    # Not Yet Implemented
    # ./spec/helpers/static_helper_spec.rb:14

Nyan Cat flew 15.13 seconds
2 examples, 1 failure, 1 pending

Failed examples:

rspec ./spec/helpers/static_helper_spec.rb:14 # StaticHelper add some examples to (or delete) app/spec/helpers/static_helper_spec.rb
/Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:71:in `*': negative argument (ArgumentError)
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:71:in `nyan_trail'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:99:in `dump_progress'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:62:in `tick'
    from /Users/rmoriz/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/nyan-cat-formatter-0.0.1/lib/nyan_cat_formatter.rb:36:in `example_failed'

Thanks for reporting this. I should have this fixed fairly soon.

This is fixed in 0.0.2