blowmage/minitest-rails — pull request #51 by bobbus (2012-06-18 22:45:45+00:00)
Title: In register_spec, check if has ancestors instead of `<` operator

This make the spec registration working on class derived from a class which is derived from `ActiveRecord::Base`, for example :

````
class Property < ActiveRecord::Base
self.abstract_class =true
end

class TextProperty < Property
end
````

With this fix, you can properly use `describe TextProperty do` to write your tests.
This is also fixing a bug when using `describe "a string"` in spec