diff --git a/test/reflex_test.rb b/test/reflex_test.rb index 621acc51..68f059fb 100644 --- a/test/reflex_test.rb +++ b/test/reflex_test.rb @@ -14,7 +14,7 @@ def connection.env reflex_data = StimulusReflex::ReflexData.new(url: "https://test.stimulusreflex.com", id: "666", version: StimulusReflex::VERSION) @reflex = StimulusReflex::Reflex.new(subscribe, reflex_data: reflex_data) - @reflex.controller_class.view_paths << Rails.root.join("test/views") + @reflex.controller_class.append_view_path(Rails.root.join("test/views")) end test "render plain" do