Skip to content

Commit

Permalink
Fix reference to test file
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed May 13, 2020
1 parent 326cdb6 commit e84070b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/cuttlefish_integration_test.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
generated_conf_file_test() ->
{_, Mappings, _} = cuttlefish_schema:file(
cuttlefish_test_util:test_file("riak.schema")),
cuttlefish_conf:generate_file(Mappings, "generated.conf"),
GenConf = cuttlefish_test_util:test_file("generated.conf"),
cuttlefish_conf:generate_file(Mappings, GenConf),
%% Schema generated a conf file, let's parse it!
Conf = cuttlefish_conf:file("generated.conf"),
Conf = cuttlefish_conf:file(GenConf),
?assertEqual("8099", proplists:get_value(["handoff","port"], Conf)),
ok.

Expand Down

0 comments on commit e84070b

Please sign in to comment.