[MacRuby] #684: MacRuby cannot run tests using the Shoulda gem
#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/>
#684: MacRuby cannot run tests using the Shoulda gem --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by lsansonetti@…): Maybe a duplicate of #674 ? -- Ticket URL: <http://www.macruby.org/trac/ticket/684#comment:1> MacRuby <http://macruby.org/>
#684: MacRuby cannot run tests using the Shoulda gem --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by mike@…): I don't think that it's a duplicate. I read the other bug and tried patching my copy of Shoulda to work around that problem. Assuming that I understood the other bug's description of the problem, then this bug is different. I will try to distill this bug further. -- Ticket URL: <http://www.macruby.org/trac/ticket/684#comment:2> MacRuby <http://macruby.org/>
#684: MacRuby cannot run tests using the Shoulda gem --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by marick@…): Is it the same as https://www.macruby.org/trac/ticket/336 ? -- Ticket URL: <http://www.macruby.org/trac/ticket/684#comment:3> MacRuby <http://macruby.org/>
#684: MacRuby cannot run tests using the Shoulda gem --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: --------------------------------+------------------------------------------- Comment(by mike@…): Replying to [comment:3 marick@…]:
Is it the same as https://www.macruby.org/trac/ticket/336 ?
Yes, it does look to be the same problem. Sorry that I missed that one. This one can be marked as a dup. -- Ticket URL: <http://www.macruby.org/trac/ticket/684#comment:4> MacRuby <http://macruby.org/>
#684: MacRuby cannot run tests using the Shoulda gem --------------------------------+------------------------------------------- Reporter: mike@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: duplicate Keywords: | --------------------------------+------------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <http://www.macruby.org/trac/ticket/684#comment:5> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby