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 fa343a8 commit 06fbffeCopy full SHA for 06fbffe
spec/react_on_rails/test_helper/webpack_assets_status_checker_spec.rb
@@ -67,10 +67,10 @@
67
packer_public_output_path: generated_assets_full_path
68
)
69
allow(ReactOnRails.configuration).to receive(:server_bundle_js_file).and_return("server-bundle.js")
70
- allow(ReactOnRails::Utils).to receive(:bundle_js_file_path)
+ allow(ReactOnRails::PackerUtils).to receive(:bundle_js_uri_from_packer)
71
.with("manifest.json")
72
.and_return(File.join(generated_assets_full_path, "manifest.json"))
73
74
.with("server-bundle.js")
75
.and_raise(Packer::Manifest::MissingEntryError)
76
touch_files_in_dir(generated_assets_full_path)
0 commit comments