Re: [MacRuby-devel] Shoulda incompatible with MacRuby

2011-03-20 Thread Eloy Duran
There's a ticket for that problem: http://www.macruby.org/trac/ticket/336, so it should be fixed, at some point :) On 20 mrt 2011, at 03:43, Morgan Schweers wrote: > Greetings, > Shoulda defines tests via: > > test_name = ["test: ", full_name, "should", "#{should[:name]}. > "].flatten.join(' '

[MacRuby-devel] Shoulda incompatible with MacRuby

2011-03-19 Thread Morgan Schweers
Greetings, Shoulda defines tests via: test_name = ["test: ", full_name, "should", "#{should[:name]}. " ].flatten.join(' ').to_sym test_unit_class.send(:define_method, test_name) do . . . end which fails because the ':' is treated as a selector part of the function name... I've pa