File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments