Phlip wrote: >> describe 'Post' do >> inherit Test::Unit::Assertions >> > > BTW I'm aware Assertions is a module, not a class. That's a copy-and-paste > error, and the root of the problem still seems to be the missing inherit()... > > Going by the history.txt file with rspec, looks like inherit was removed in version 1.1. I believe this post:
http://blog.davidchelimsky.net/2007/12/14/rspec-1-1 Shows how to use test::unit assertions with rspec, looks like all you have to do is require 'test/unit' (and require your custom assertions as well I imagine) and they should "just work". Derek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
