(UndefinedFunctionError) function MyApp.FooController.init/1 is undefined or private
The problem is that your test module is named the same as your controller. Instead, it should have Test
appended to the end of the module name.
(UndefinedFunctionError) function MyApp.FooController.init/1 is undefined or private
The problem is that your test module is named the same as your controller. Instead, it should have Test
appended to the end of the module name.