We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54c8ac3 commit d40a893Copy full SHA for d40a893
test/react/rails/controller_lifecycle_test.rb
@@ -23,8 +23,12 @@ def react_component(*args)
23
end
24
25
class ControllerLifecycleTest < ActionDispatch::IntegrationTest
26
- def setup
27
- WebpackerHelpers.compile_if_missing
+ compiled = false
+ setup do
28
+ if !compiled
29
+ compile = true
30
+ WebpackerHelpers.compile
31
+ end
32
@previous_helper_implementation = React::Rails::ViewHelper.helper_implementation_class
33
React::Rails::ViewHelper.helper_implementation_class = DummyHelperImplementation
34
0 commit comments