In order to get Bureaucrat working, I had to add this to the top of my test_helper.exs:
Bureaucrat.start(json_library: Jason)
Supervisor.start_link([Bureaucrat.Recorder], strategy: :one_for_one, name: Bureaucrat.Supervisor)
Otherwise I would get the same error reported in #35. I don't think this is related to needing to configure a different json_library, either. It's just the fact that, looking at the Bureaucrat module, you can't set options at all in a way that ultimately calls Supervisor.start_link. It seems like the README is missing something, but I'm not sure what the recommended setup is. But the above does work for me for now.
In order to get Bureaucrat working, I had to add this to the top of my
test_helper.exs:Otherwise I would get the same error reported in #35. I don't think this is related to needing to configure a different
json_library, either. It's just the fact that, looking at theBureaucratmodule, you can't set options at all in a way that ultimately callsSupervisor.start_link. It seems like the README is missing something, but I'm not sure what the recommended setup is. But the above does work for me for now.