[MacRuby-devel] [MacRuby] #684: MacRuby cannot run tests using the Shoulda gem

MacRuby ruby-noreply at macosforge.org
Tue May 4 10:25:59 PDT 2010


#684: MacRuby cannot run tests using the Shoulda gem
--------------------------------+-------------------------------------------
 Reporter:  mike@…              |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:                       
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
 MacRuby (0.6 release) doesn't seem to be able to run tests that use the
 "Shoulda" gem. I've tried Ruby 1.8.x and Ruby 1.9.x and they both work
 correctly.

 To recreate the problem, install the Shoulda gem:

 {{{macgem install thoughtbot-shoulda --source=http://gems.github.com}}}

 Then, run the attached script with macruby.

 You will get errors that look like this:

 {{{
 1) Error:
 test: My factorial method should return 1 when passed 0.(TC_Test):
 NoMethodError: undefined method `test: My factorial method should return 1
 when passed 0.' for #<TC_Test:0x200240f60>
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/684>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list