diff options
author | Kir Shatrov <shatrov@me.com> | 2016-09-21 13:16:59 -0400 |
---|---|---|
committer | Kir Shatrov <shatrov@me.com> | 2016-09-21 13:16:59 -0400 |
commit | aa7c4179ff3b0dba6c14e45cecaf853ac9446d41 (patch) | |
tree | 6242a8d2b1aa395d83065857fabaf7124500d512 /activemodel/MIT-LICENSE | |
parent | cf5f55cd30aef0f90300c7c8f333060fe258cd8a (diff) | |
download | rails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.tar.gz rails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.tar.bz2 rails-aa7c4179ff3b0dba6c14e45cecaf853ac9446d41.zip |
Make :as option also set request format (AC::TestCase)
right now you'd have to specify both :as and :format:
```
post :create, params: { foo: "bar" } as: :json, format: :json
```
Diffstat (limited to 'activemodel/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions