Skip to content

Commit

Permalink
attempt dynamic constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek authored and AbanoubGhadban committed Jan 25, 2025
1 parent f1ef900 commit c7a2731
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/react_on_rails/packer_utils_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require_relative "spec_helper"
require "shakapacker"

module ReactOnRails
describe PackerUtils do
Expand Down Expand Up @@ -45,7 +44,7 @@ module ReactOnRails
before do
allow(described_class.packer).to receive(:dev_server).and_return(
instance_double(
::Shakapacker::DevServer,
(ReactOnRails::PackerUtils.packer)::DevServer,
running?: true,
protocol: "http",
host_with_port: "localhost:3035"
Expand Down

0 comments on commit c7a2731

Please sign in to comment.