Hi guys,

I'm having some issues when using dm-is-remixable with validations on my 
models. My scenario is the following: I defined a remixable File module 
that has a couple of simple validations (path attribute must be present and 
be unique). Now, to unit test my model I'm declaring a dummy class and 
including the remix, just to generate the associated class; but for some 
reason validations don't appear to be running and the call to valid? will 
always return true.

You can check out the full code snippet at this gist: 
https://gist.github.com/anero/5833725


Thanks,
Diego.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to