When your project uses pundit gem for authorization this gem generates the code for /policies and /spec/policies
Dmitry Kulikov
MIT