Filed a bug: http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=4327.
Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shay Friedman Sent: Tuesday, April 06, 2010 8:10 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Has someone tried to use Shoulda with IronRuby? OK, I installed MRI and it worked. So it's a problem with IronRuby... -------------------------------------------------------- Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay On Tue, Apr 6, 2010 at 3:36 PM, Shay Friedman <shay.fried...@gmail.com<mailto:shay.fried...@gmail.com>> wrote: No, I don't have MRI installed on this computer (I'm loyal to my IronRuby! :-) )... If someone can try it, please do. Thanks, Shay. -------------------------------------------------------- Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay On Tue, Apr 6, 2010 at 3:16 PM, Will Green <w...@hotgazpacho.org<mailto:w...@hotgazpacho.org>> wrote: I'll have to try that later. Have you run the shoulda tests on MRI? Does it report a different number of Tests and Assertions? -- Will Green http://hotgazpacho.org/ On Tue, Apr 6, 2010 at 2:54 AM, Shay Friedman <shay.fried...@gmail.com<mailto:shay.fried...@gmail.com>> wrote: This doesn't work for me: require 'rubygems' require 'shoulda' class MyTest < Test::Unit::TestCase context "something" do should "be true" do assert true end end end -------------------------------------------------------- Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay On Mon, Apr 5, 2010 at 6:00 PM, Will Green <w...@hotgazpacho.org<mailto:w...@hotgazpacho.org>> wrote: This what I did: cd %HOME%\dev ir -S gem install rake shoulda rails sqlite3-ironruby mocha --no-rdoc --no-ri git clone http://github.com/thoughtbot/shoulda.git cd shoulda ir -S rake test It appears to pass. Results are here: http://gist.github.com/356509 -- Will Green http://hotgazpacho.org/ On Mon, Apr 5, 2010 at 10:32 AM, Shay Friedman <shay.fried...@gmail.com<mailto:shay.fried...@gmail.com>> wrote: When I run it, it doesn't find any test cases (even though I have one)... So nothing breaks because nothing is run. Thanks, Shay. -------------------------------------------------------- Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay On Mon, Apr 5, 2010 at 4:26 PM, Will Green <w...@hotgazpacho.org<mailto:w...@hotgazpacho.org>> wrote: Shoulda has a test suite. Have you run that to see what breaks? -- Will Green http://hotgazpacho.org/ On Mon, Apr 5, 2010 at 9:30 AM, Shay Friedman <li...@ruby-forum.com<mailto:li...@ruby-forum.com>> wrote: I get the same problem with test-spec. Both frameworks enhance Test::Unit and they both don't work... Thanks, Shay. Shay Friedman wrote: > Hi there, > > I'm trying to use Shoulda to test code (not in a Rails project) and I > can't > get it to work. It seems like it doesn't convert the should statements > to > test methods at all. > Has anyone run into this before? > > Thanks, > Shay. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core