Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
assigns converts nil to empty string #33
I just made the switch to Rails 5.0. I often test state of my controllers by comparing to an expected hash like so:
This worked find in Rails 4.2. But after the switch the two hashes are not equal. Specifically,
Is this an issue in this gem or a change in Rails 5? Or is there something else I'm misunderstanding? I'm happy to work on this issue if its fixable.
It is a change in 5.0. Now controller tests are parsing the attributes in the same way a browser does. There is no way a parameter get in the controller with