fix method name in spec