1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Define a setup method instead of using setup as block

setup as block run before setup actlually runs so it will fail for our
case
This commit is contained in:
Rafael Mendonça França 2015-03-27 16:29:15 -03:00
parent 9420de59f5
commit 9c3c07b325

View file

@ -1128,7 +1128,8 @@ class RequestEtag < BaseRequestTest
end
class RequestVariant < BaseRequestTest
setup do
def setup
super
@request = stub_request
end