Forum: Ruby on Rails DRYing up admin controllers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fernando P. (Guest)
on 2009-05-21 21:15
Hi,

This week I have been writing shit loads of very similar tests for my
admin controllers. It was a terrible PITA as they all look the same, so
it was a lot of copying and pasting.

What do you guys do to write admin controllers and their tests? Use
something like resource_controller?


Regards,
This topic is locked and can not be replied to.