diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-05-28 17:53:27 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-05-28 17:56:57 +0000 |
commit | 707cddbce795b583a04a94de7dbedacb789dcb75 (patch) | |
tree | a7e6fb39f434aa93964e8ceff11f6b9f67927cde /test/mock_pkg_resource.erl | |
parent | b4786b804c8b31a220e9daea753bd0ec3f7a62dd (diff) |
Fix upgrade of atom-only packages
they would always be left unfound otherwise.
Diffstat (limited to 'test/mock_pkg_resource.erl')
-rw-r--r-- | test/mock_pkg_resource.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl index 9ed0962..2895cb3 100644 --- a/test/mock_pkg_resource.erl +++ b/test/mock_pkg_resource.erl @@ -15,7 +15,7 @@ mock() -> mock([]). %% Specific config options are explained in each of the private functions. -spec mock(Opts) -> ok when Opts :: [Option], - Option :: {update, [App]} + Option :: {upgrade, [App]} | {cache_dir, string()} | {default_vsn, Vsn} | {override_vsn, [{App, Vsn}]} @@ -120,7 +120,6 @@ mock_pkg_index(Opts) -> meck:expect(rebar_packages, get_packages, fun(_State) -> {Dict, Digraph} end). - %%%%%%%%%%%%%%% %%% Helpers %%% %%%%%%%%%%%%%%% |