gon
gon copied to clipboard
gon.rabl makes test fail
When I have gon.rabl as: 'sites' in my controller my functional test fails.
It says: NoMethodError: undefined method
controller_path' for nil:NilClass`
Hello, thank you for issue. Can you please provide simple app with failing test? Or at least example code of failing test. Thank you in advance
There is a sample app : http://s000.tinyupload.com/index.php?file_id=51122105514226965471
Great, downloading
I'm having the same issue with jbuilder. I assume the controller is defined slightly different when mocked out during functional tests in rails.
Did you ever reproduce the issue?