I'm not sure why you can't write a normal rspec against these objects---
generally rspec tests the objects themselves and how their public methods are
implemented (and, when appropriate, the internals of the object implementation).
The decision to make the attachment polymorphic -- which incide
Rspec forum has troubles
Does anyone have examples for rspec model for a polymorphic class?
Since attributes get dynamically created into the db, this is different
to test than normal rspec models.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscrib
2 matches
Mail list logo