danmayer/churn — pull request #12 by thetizzo (2012-09-24 17:14:11+00:00)
Title: @minimum_churn_count should be Fixnum

When we installed this gem and set up ENV['CHURN_MINIMUM_CHURN_COUNT'] = 1, we got this error when running 'rake churn': "comparison of String to Fixnum failed"

To fix this we updated ChurnCalculator's initialize method to ensure @minimum_churn_count gets initialized as a Fixnum and not a String.

We also added a test to cover this case.