Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

No test on NEVER_UNPERMITTED_PARAMS #228

Open
levsero opened this issue Aug 12, 2015 · 1 comment
Open

No test on NEVER_UNPERMITTED_PARAMS #228

levsero opened this issue Aug 12, 2015 · 1 comment

Comments

@levsero
Copy link

levsero commented Aug 12, 2015

There is no test that ensures that the params in NEVER_UNPERMITTED_PARAMS ("controller", "action") are excluded from the permitted params.

If you remove both mentions on NEVER_UNPERMITTED_PARAMS in parameters.rb all tests still pass.

p.s first time opening a git issue, please feel free to correct me in all aspects.

@rafaelfranca
Copy link
Member

Yes. I think you are correct. Feel free to write tests for it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants