Skip to content

Commit

Permalink
[erchef] Fix data_collector eunit tests
Browse files Browse the repository at this point in the history
- Ensure priv dir exists
- Fix badmatch on ensure_all_started

Signed-off-by: Steven Danna <[email protected]>
  • Loading branch information
stevendanna committed Mar 9, 2017
1 parent 19d3b0b commit c64e28e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setup_chef_secrets() ->
FakeSecretsFile = filename:join(code:priv_dir(data_collector), "../test/secrets.json"),
application:set_env(chef_secrets, provider, chef_secrets_json_file),
application:set_env(chef_secrets, provider_config, [{secrets_file, FakeSecretsFile}]),
ok = application:ensure_all_started(chef_secrets).
application:ensure_all_started(chef_secrets).

setup(MockedModules) ->
[meck:new(M) || M <- MockedModules],
Expand Down

0 comments on commit c64e28e

Please sign in to comment.