The casting to HashWithIndifferentAccess
in
mutations/hash_filter
is causing issues with passing an
OmniAuth::AuthHash
to a command as a model.
- Check out this repository
```sh
git clone https://github.com/michaelherold/test-mutations.git
```
-
Run
bundler install
-
Run
bundle exec rspec
All tests should pass.
Only the generic success test passes, but the others do not.
The OmniAuth::AuthHash
that is passed to the specific command is
cast to a HashWithIndifferentAccess
as a byproduct of using that
type of hash.
This hash should remain an OmniAuth::AuthHash
to match the
expected model type.