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
23
23
end
24
24
25
25
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'
27
27
end
28
28
Rails . application . reload_routes!
29
29
@@ -57,7 +57,7 @@ def response
57
57
58
58
end
59
59
60
- visit '/component_test '
60
+ visit '/custom_component_test '
61
61
62
62
expect ( page ) . to have_xpath ( '//div[@id="div-on-page"]/div[@id="my-component-1" and contains(.,"I\'m a static component!")]' )
63
63
@@ -96,7 +96,7 @@ def response
96
96
97
97
end
98
98
99
- visit '/component_test '
99
+ visit '/custom_component_test '
100
100
101
101
expect ( page ) . to have_xpath ( '//div[@id="div-on-page"]/div[@id="my-component-1" and contains(.,"3 days")]' )
102
102
@@ -156,7 +156,7 @@ def response
156
156
157
157
end
158
158
159
- visit '/component_test '
159
+ visit '/custom_component_test '
160
160
161
161
page . execute_script ( component_definition )
162
162
page . execute_script ( 'MatestackUiCore.matestackEventHub.$emit("refresh")' )
You can’t perform that action at this time.
0 commit comments