Ben Mabey wrote: > On 9/21/10 6:51 AM, Gene Angelo wrote: >> I think I understand basic Class testing, however, how do I test a >> Module's behavior especially (in my case) where the Module will be used >> as an extension primarily e.g. object.extend MyModule. > One option is to extend an object in your spec like so: >
Perfect. Thank you. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users