Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
AbanoubGhadban committed Jan 27, 2025
1 parent 6902863 commit 767fefc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/dummy/spec/packs_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module ReactOnRails
it "generated pack for ComponentWithCommonOnly uses common file for pack" do
pack_content = File.read(component_pack)

expect(pack_content).to include("#{component_name / dummy / spec / packs_generator_spec.rbe}.jsx")
expect(pack_content).to include("#{component_name}.jsx")
expect(pack_content).not_to include("#{component_name}.client.jsx")
expect(pack_content).not_to include("#{component_name}.server.jsx")
end
Expand Down
2 changes: 1 addition & 1 deletion spec/react_on_rails/packer_utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module ReactOnRails
before do
allow(described_class.packer).to receive(:dev_server).and_return(
instance_double(
(ReactOnRails::PackerUtils.packer)::DevServer,
ReactOnRails::PackerUtils.packer::DevServer,
running?: true,
protocol: "http",
host_with_port: "localhost:3035"
Expand Down

0 comments on commit 767fefc

Please sign in to comment.