colszowka/simplecov — pull request #119 by mvz (2012-03-24 07:12:09+00:00)
Title: Minimal fix for warnings

These commits turn on warnings to demonstrate issue #106, and then fix the warnings emitted by `rake test`. I have attempted to keep the changes as minimal as possible; they basically boil down do inserting a `defined?` here and there.

Note: shoulda (or shoulda-context depending on which version is in your Gemfile.lock) will still emit some warnings during the running of the tests.