@@ -49,7 +49,7 @@ def before_prepare
4949 it "watches the app assets" do
5050 expect ( interactive_system_call ) . to receive ( :call ) . with (
5151 "node" ,
52- Hanami . app . root . join ( "config" , " assets.js") . to_s ,
52+ "config/ assets.js" ,
5353 "--" ,
5454 "--path=app" ,
5555 "--dest=public/assets" ,
@@ -81,7 +81,7 @@ def before_prepare
8181 it "watches the slice assets" do
8282 expect ( interactive_system_call ) . to receive ( :call ) . with (
8383 "node" ,
84- Hanami . app . root . join ( "config" , " assets.js") . to_s ,
84+ "config/ assets.js" ,
8585 "--" ,
8686 "--path=slices/admin" ,
8787 "--dest=public/assets/_admin" ,
@@ -102,7 +102,7 @@ def before_prepare
102102 it "watches the slice assets using the slice's assets config" do
103103 expect ( interactive_system_call ) . to receive ( :call ) . with (
104104 "node" ,
105- Hanami . app . root . join ( "slices" , " admin" , " config" , " assets.js") . to_s ,
105+ "slices/ admin/ config/ assets.js" ,
106106 "--" ,
107107 "--path=slices/admin" ,
108108 "--dest=public/assets/_admin" ,
@@ -136,7 +136,7 @@ def before_prepare
136136 it "watches the assets for each slice" do
137137 expect ( interactive_system_call ) . to receive ( :call ) . with (
138138 "node" ,
139- Hanami . app . root . join ( "config" , " assets.js") . to_s ,
139+ "config/ assets.js" ,
140140 "--" ,
141141 "--path=slices/admin" ,
142142 "--dest=public/assets/_admin" ,
@@ -146,7 +146,7 @@ def before_prepare
146146
147147 expect ( interactive_system_call ) . to receive ( :call ) . with (
148148 "node" ,
149- Hanami . app . root . join ( "config" , " assets.js") . to_s ,
149+ "config/ assets.js" ,
150150 "--" ,
151151 "--path=slices/main" ,
152152 "--dest=public/assets/_main" ,
0 commit comments