So, I'm trying to do some unit tests, and my current_account_permissions variable is undefined when running the tests. (works fine when the server is running).
It's similar to current_user in that it's available everywhere, except tests apparently.
Is there a way I can add the variable to the global scope?
Maybe something like ENV["current_account_permissions"] = whatever but not having to use the ENV[] notation to retrieve the variable?