summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-09-02 22:32:54 -0700
committerFred Hebert <mononcqc@ferd.ca>2015-09-02 22:32:54 -0700
commitbee43181d2c60df78e159da263b0889a64f5b88e (patch)
tree702e77d59ecd6cb01eab02c5dc4599262985d6ea /test
parent4f90c4f27c00ed52a9f176b641b820238f82fb69 (diff)
parentc57177fde8f0891462aa91cf161f1372a3dd5813 (diff)
Merge pull request #774 from rebar/revert-773-revert-771-delay_pkg_load
Revert "Revert "only load packages when needed""
Diffstat (limited to 'test')
-rw-r--r--test/mock_pkg_resource.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock_pkg_resource.erl b/test/mock_pkg_resource.erl
index 4ed8d8e..a94fe2f 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, load_and_verify_version,
+ meck:expect(rebar_packages, verify_table,
fun(_State) -> to_index(Deps, Dict), true end).
%%%%%%%%%%%%%%%