update ActionController tests

This commit is contained in:
Alex Ford
2021-10-05 19:44:53 +01:00
parent 955080234b
commit be018cc97f
2 changed files with 5 additions and 4 deletions

View File

@@ -55,5 +55,6 @@ actionControllerHelperMethods
getAssociatedControllerClasses
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | app/views/foo/bars/_widget.html.erb:0:0:0:0 | app/views/foo/bars/_widget.html.erb |
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | app/views/foo/bars/show.html.erb:0:0:0:0 | app/views/foo/bars/show.html.erb |
controllerTemplatesFolders
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | folder://app/views/foo/bars | app/views/foo/bars |
controllerTemplateFiles
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | app/views/foo/bars/_widget.html.erb:0:0:0:0 | app/views/foo/bars/_widget.html.erb |
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | app/views/foo/bars/show.html.erb:0:0:0:0 | app/views/foo/bars/show.html.erb |

View File

@@ -18,6 +18,6 @@ query predicate getAssociatedControllerClasses(ActionControllerControllerClass c
cls = getAssociatedControllerClass(f)
}
query predicate controllerTemplatesFolders(ActionControllerControllerClass cls, Folder f) {
controllerTemplatesFolder(cls, f)
query predicate controllerTemplateFiles(ActionControllerControllerClass cls, ErbFile templateFile) {
controllerTemplateFile(cls, templateFile)
}