Use as option to encode a request for a mime type in controller tests in Rails 5
We can provide a specific mime type to a controller tests request using as option in Rails 5
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
We can provide a specific mime type to a controller tests request using as option in Rails 5
Post a comment