diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index ab492665c9..f208cfda89 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -1128,7 +1128,8 @@ class RequestEtag < BaseRequestTest end class RequestVariant < BaseRequestTest - setup do + def setup + super @request = stub_request end