markbates / cover_me

An RCov-esque coverage tool for Ruby 1.9
http://www.metabates.com
MIT License
203 stars 18 forks source link

Coverage inconsistent when running indivudual file vs all files #65

Closed macmartine closed 13 years ago

macmartine commented 13 years ago

I have a file: /spec/models/appointment_model_spec.rb that when run alone shows 100% coverage

which is correct

When i run all files: rspec /spec

That file only shows 67.4 coverage which is incorrect.

Have you seen this before?

I'm not sure how to make a simplified case to send but I can try if no one else knows what causes this.

macmartine commented 13 years ago

It turned out to just be one file. I deleted the file, created a new one of the same name, pasted the old content in there, and it worked.