Hi,

I have a function that adds dynamic validations to my models. I use a
combination of ":remove_const" and "load" methods to reload the code
everytime I want to re-apply my dynamic validations. It seams RSpec has
some issues with this.

I posted here a simpler example code that shows what I mean:

http://pastie.org/private/ruvgxgipxfge6yzuudbq

Is it possible to test this with RSpec?

Regards
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to