Skip to content

Commit 01fe6ab

Browse files
fix syntax error
1 parent 1cacdc2 commit 01fe6ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/dummy/spec/packs_generator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module ReactOnRails
8282
it "generated pack for ComponentWithCommonOnly uses common file for pack" do
8383
pack_content = File.read(component_pack)
8484

85-
expect(pack_content).to include("#{component_name / dummy / spec / packs_generator_spec.rbe}.jsx")
85+
expect(pack_content).to include("#{component_name}.jsx")
8686
expect(pack_content).not_to include("#{component_name}.client.jsx")
8787
expect(pack_content).not_to include("#{component_name}.server.jsx")
8888
end

spec/react_on_rails/packer_utils_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module ReactOnRails
4444
before do
4545
allow(described_class.packer).to receive(:dev_server).and_return(
4646
instance_double(
47-
(ReactOnRails::PackerUtils.packer)::DevServer,
47+
ReactOnRails::PackerUtils.packer::DevServer,
4848
running?: true,
4949
protocol: "http",
5050
host_with_port: "localhost:3035"

0 commit comments

Comments
 (0)