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 448e696 commit a8d2d1fCopy full SHA for a8d2d1f
spec/dummy/spec/packs_generator_spec.rb
@@ -220,7 +220,10 @@ def self.configuration
220
before do
221
stub_packer_source_path(component_name: components_directory,
222
packer_source_path: packer_source_path)
223
- allow(ReactOnRails::Utils).to receive_messages(react_on_rails_pro?: true, rsc_support_enabled?: true)
+ allow(ReactOnRails::Utils).to receive(:react_on_rails_pro?).and_return(true)
224
+ allow(ReactOnRailsPro.configuration).to receive_messages(
225
+ enable_rsc_support: true
226
+ )
227
end
228
229
context "when common component is not a client entrypoint" do
0 commit comments