Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mspec :foobar raises a ZeroDivisionError #32

Closed
eregon opened this issue Oct 4, 2017 · 1 comment
Closed

mspec :foobar raises a ZeroDivisionError #32

eregon opened this issue Oct 4, 2017 · 1 comment

Comments

@eregon
Copy link
Member

eregon commented Oct 4, 2017

$ mspec :foobar
$ ruby mspec/bin/mspec-run :foobar
mspec/lib/mspec/runner/formatters/spinner.rb:54:in `/': divided by 0 (ZeroDivisionError)
	from mspec/lib/mspec/runner/formatters/spinner.rb:54:in `compute_percentage'
	from mspec/lib/mspec/runner/formatters/spinner.rb:62:in `compute_progress'
	from mspec/lib/mspec/runner/formatters/spinner.rb:84:in `start'
	from mspec/lib/mspec/runner/mspec.rb:99:in `block in actions'
	from mspec/lib/mspec/runner/mspec.rb:99:in `each'
	from mspec/lib/mspec/runner/mspec.rb:99:in `actions'
	from mspec/lib/mspec/runner/mspec.rb:54:in `process'
	from mspec/lib/mspec/commands/mspec-run.rb:83:in `run'
	from mspec/lib/mspec/utils/script.rb:270:in `main'
	from mspec/bin/mspec-run:7:in `<main>'
@eregon
Copy link
Member Author

eregon commented Oct 4, 2017

Fixed by a6a6c95

@eregon eregon closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant