My handler have 4 configs input
config :base_url
config :details_path
config :create_path
config :token
I set to them in my lita_config file, but to test my handler, I need set values to him on my specs as well. How can I do this?
My handler have 4 configs input
config :base_url
config :details_path
config :create_path
config :token
I set to them in my lita_config file, but to test my handler, I need set values to him on my specs as well. How can I do this?
Copyright © 2021 Jogjafile Inc.
Apparently you can do this through the
registryobject:I couldn't find this information anywhere in docs either. I finally figured it out by looking at tests of other plugins, so I figured I'd document it here.
Hope this helps!