bernardolins/fake_server

Ensure cowboy started when server is run

Closed this issue · 0 comments

If cowboy application is not started when FakeServer.run/2 is called the application exit because of an error. To fix it, cowboy application must be started when this function is called. An option is to use Application.ensure_all_started/1