aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-03-12 18:49:31 -0500
committerTristan Sloughter <[email protected]>2013-03-13 13:43:01 -0500
commitb69815402b3456699a47273a8c731850fb6b7871 (patch)
tree6c491fddb665ae86cb6113749549b7ca635ffc73 /test
parent937c776c131c9e2e04aefc6b4f320e37b35115c2 (diff)
downloadrelx-b69815402b3456699a47273a8c731850fb6b7871.tar.gz
relx-b69815402b3456699a47273a8c731850fb6b7871.tar.bz2
relx-b69815402b3456699a47273a8c731850fb6b7871.zip
update do type spec for undefined config
Diffstat (limited to 'test')
-rw-r--r--test/rclt_release_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/rclt_release_SUITE.erl b/test/rclt_release_SUITE.erl
index 1104303..dd03b9f 100644
--- a/test/rclt_release_SUITE.erl
+++ b/test/rclt_release_SUITE.erl
@@ -244,7 +244,8 @@ make_implicit_config_release(Config) ->
ok = file:set_cwd(FooRoot),
{ok, FooRoot} = file:get_cwd(),
{ok, State} = relcool:do(undefined, undefined, [], [LibDir1], 2,
- OutputDir, []),
+ OutputDir, undefined),
+
[{{foo, "0.0.1"}, Release}] = ec_dictionary:to_list(rcl_state:releases(State)),
?assert(ec_file:exists(OutputDir)),
AppSpecs = rcl_release:applications(Release),
@@ -294,7 +295,7 @@ make_rerun_overridden_release(Config) ->
OutputDir, [{OverrideAppName, OverrideAppDir}],
ConfigFile),
- %% Now we run it again to see if it failse.
+ %% Now we run it again to see if it fails.
{ok, State} = relcool:do(Cwd,undefined, undefined, [], [LibDir1], 2,
OutputDir, [{OverrideAppName, OverrideAppDir}],
ConfigFile),