Re:DRYing Elixir Tests with Macros
by sjtgraham on Wednesday February 17, 2016 @08:56AM
(#11117832)
I've been thinking of exactly the same thing over the last couple of days and controller tests are prime candidates for this kind of DRY-ing, e.g. one would want to make sure resources owned by a user are actually scoped to that user and unaccessible to others. That is something that needs to be done on every action. Perfect case for DRY-ing up.
[ Parent
| on HN ]
There are no comments on this comment yet.