Skip to content

Commit 0cab0d9

Browse files
committed
Fixed the broken test
1 parent 600d708 commit 0cab0d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

springfox-grails/src/test/groovy/springfox/documentation/grails/ActionsSpec.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ActionsSpec extends Specification implements GrailsControllerSupport {
1717
when:
1818
def handlerMethods = Actions.actionsToHandler(controller)
1919
then:
20-
handlerMethods.size() == 8
20+
handlerMethods.size() == 9
2121
handlerMethods.containsKey("index")
2222
handlerMethods.containsKey("show")
2323
handlerMethods.containsKey("create")
@@ -26,5 +26,6 @@ class ActionsSpec extends Specification implements GrailsControllerSupport {
2626
handlerMethods.containsKey("edit")
2727
handlerMethods.containsKey("patch")
2828
handlerMethods.containsKey("delete")
29+
handlerMethods.containsKey("other")
2930
}
3031
}

0 commit comments

Comments
 (0)