• A
    pass variants in rather than mutating the request. · 59a9068c
    Aaron Patterson 提交于
    Variants are typically set in the controller based on some attribute of
    the request that the browser sent.  We should make our tests more in
    line with reality by doing the same and not mutating the request object.
    59a9068c
respond_to_test.rb 21.3 KB