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 1864025 commit fd69771Copy full SHA for fd69771
spec/react_on_rails/packer_utils_spec.rb
@@ -1,7 +1,6 @@
1
# frozen_string_literal: true
2
3
require_relative "spec_helper"
4
-require "shakapacker"
5
6
module ReactOnRails
7
describe PackerUtils do
@@ -45,7 +44,7 @@ module ReactOnRails
45
44
before do
46
allow(described_class.packer).to receive(:dev_server).and_return(
47
instance_double(
48
- ::Shakapacker::DevServer,
+ (ReactOnRails::PackerUtils.packer)::DevServer,
49
running?: true,
50
protocol: "http",
51
host_with_port: "localhost:3035"
0 commit comments