Hey,
I have lots of problems to refactor RSpec macros and make them DRY.
Right now I'm stuck in such a situation for some role macros.
In my controller tests, I want to write:
1) it_should_grant_access(:super_admin, :to => :countries)
2) it_should_grant_access(:admin, :to => :countries, :onl
Thanks!
On Dec 22, 3:03 am, David Chelimsky wrote:
> On Dec 21, 2010, at 2:11 PM, rejeep wrote:
>
>
>
>
>
>
>
>
>
> > Hey,
>
> > I have lots of problems to refactor RSpec macros and make them DRY.
> > Right now I'm stuck in such