I’ve developed a module to include in ActiveRecord derived classes. Can
test the module without having to tie it to a particular class? atm, I’m
including it in my User class and writing the tests in user_spec.rb, but
don’t like the idea of tying the module tests to those of the class.
I may extract the specs to a shared description and include that in the
specs for each model which uses the module. is that the right way to do
I’d appreciate any thoughts or suggestions
View this message in context:
Sent from the rspec-users mailing list archive at Nabble.com.