diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-02 21:35:13 -0700 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-02 21:35:13 -0700 |
commit | 3f83b3a38291ed056d66b68d294d5cfd39d9e95f (patch) | |
tree | dcfd226d8ad4588e26ab0c37dcf545cb8455a1d5 /test | |
parent | 3ed65f91801eb5f049a89745cd9859eaee1ef907 (diff) |
Revert "only load packages when needed"
Diffstat (limited to 'test')
-rw-r--r-- | test/mock_pkg_resource.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl index a94fe2f..4ed8d8e 100644 --- a/test/mock_pkg_resource.erl +++ b/test/mock_pkg_resource.erl @@ -117,7 +117,7 @@ mock_pkg_index(Opts) -> meck:new(rebar_packages, [passthrough, no_link]), meck:expect(rebar_packages, packages, fun(_State) -> to_index(Deps, Dict) end), - meck:expect(rebar_packages, verify_table, + meck:expect(rebar_packages, load_and_verify_version, fun(_State) -> to_index(Deps, Dict), true end). %%%%%%%%%%%%%%% |