2008-05-26 Why I hate code generators... From the rSpec 1.1.4 release notes: Note: we've removed the metaclass method from Object. There were some generated specs that used it, and they will now break. Just replace the metaclass call with (class << self; self; end) and all will be well.