Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make :as option also set request format (AC::TestCase) #26573

Merged
merged 1 commit into from
Sep 27, 2016
Merged

Make :as option also set request format (AC::TestCase) #26573

merged 1 commit into from
Sep 27, 2016

Commits on Sep 21, 2016

  1. 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
    ```
    kirs committed Sep 21, 2016
    Configuration menu
    Copy the full SHA
    aa7c417 View commit details
    Browse the repository at this point in the history