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:
parent
9420de59f5
commit
9c3c07b325
1 changed files with 2 additions and 1 deletions
|
@ -1128,7 +1128,8 @@ class RequestEtag < BaseRequestTest
|
|||
end
|
||||
|
||||
class RequestVariant < BaseRequestTest
|
||||
setup do
|
||||
def setup
|
||||
super
|
||||
@request = stub_request
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue