rails-controller-testing icon indicating copy to clipboard operation
rails-controller-testing copied to clipboard

`partial` locals and count mutually exclusive

Open SampsonCrowley opened this issue 5 years ago • 1 comments

looking through the code, if you provide one, the other will never be ran (because it's in an elsif block)

What's the reasoning for this behavior?

SampsonCrowley avatar Jun 18 '20 18:06 SampsonCrowley

This seems like something that should be an error to provide both, if both can't be tested

SampsonCrowley avatar Jun 18 '20 18:06 SampsonCrowley