File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def my_action
2323 end
2424
2525 Rails . application . routes . append do
26- get '/component_test ' , to : 'component_test#my_action' , as : 'component_test_action'
26+ get '/custom_component_test ' , to : 'component_test#my_action' , as : 'component_test_action'
2727 end
2828 Rails . application . reload_routes!
2929
@@ -57,7 +57,7 @@ def response
5757
5858 end
5959
60- visit '/component_test '
60+ visit '/custom_component_test '
6161
6262 expect ( page ) . to have_xpath ( '//div[@id="div-on-page"]/div[@id="my-component-1" and contains(.,"I\'m a static component!")]' )
6363
@@ -96,7 +96,7 @@ def response
9696
9797 end
9898
99- visit '/component_test '
99+ visit '/custom_component_test '
100100
101101 expect ( page ) . to have_xpath ( '//div[@id="div-on-page"]/div[@id="my-component-1" and contains(.,"3 days")]' )
102102
@@ -156,7 +156,7 @@ def response
156156
157157 end
158158
159- visit '/component_test '
159+ visit '/custom_component_test '
160160
161161 page . execute_script ( component_definition )
162162 page . execute_script ( 'MatestackUiCore.matestackEventHub.$emit("refresh")' )
You can’t perform that action at this time.
0 commit comments