• P
    Stop using deprecated `render :text` in test · 8cb8ce98
    Prem Sichanugrist 提交于
    This will silence deprecation warnings.
    
    Most of the test can be changed from `render :text` to render `:plain`
    or `render :body` right away. However, there are some tests that needed
    to be fixed by hand as they actually assert the default Content-Type
    returned from `render :body`.
    8cb8ce98
render_test.rb 18.3 KB