Skip to content

Commit be018cc

Browse files
committed
update ActionController tests
1 parent 9550802 commit be018cc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ql/test/library-tests/frameworks/ActionController.expected

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ actionControllerHelperMethods
5555
getAssociatedControllerClasses
5656
| 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 |
5757
| 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 |
58-
controllerTemplatesFolders
59-
| app/controllers/foo/bars_controller.rb:1:1:20:3 | BarsController | folder://app/views/foo/bars | app/views/foo/bars |
58+
controllerTemplateFiles
59+
| 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 |
60+
| 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 |

ql/test/library-tests/frameworks/ActionController.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ query predicate getAssociatedControllerClasses(ActionControllerControllerClass c
1818
cls = getAssociatedControllerClass(f)
1919
}
2020

21-
query predicate controllerTemplatesFolders(ActionControllerControllerClass cls, Folder f) {
22-
controllerTemplatesFolder(cls, f)
21+
query predicate controllerTemplateFiles(ActionControllerControllerClass cls, ErbFile templateFile) {
22+
controllerTemplateFile(cls, templateFile)
2323
}

0 commit comments

Comments
 (0)