aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/managers/composer_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mason-core/managers/composer_spec.lua')
-rw-r--r--tests/mason-core/managers/composer_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/managers/composer_spec.lua b/tests/mason-core/managers/composer_spec.lua
index 0c741493..44841061 100644
--- a/tests/mason-core/managers/composer_spec.lua
+++ b/tests/mason-core/managers/composer_spec.lua
@@ -12,7 +12,7 @@ describe("composer manager", function()
"should call composer require",
async_test(function()
local handle = InstallHandleGenerator "dummy"
- local ctx = InstallContextGenerator(handle, { requested_version = "42.13.37" })
+ local ctx = InstallContextGenerator(handle, { version = "42.13.37" })
ctx.fs.file_exists = spy.new(mockx.returns(false))
installer.exec_in_context(
ctx,
@@ -39,7 +39,7 @@ describe("composer manager", function()
"should provide receipt information",
async_test(function()
local handle = InstallHandleGenerator "dummy"
- local ctx = InstallContextGenerator(handle, { requested_version = "42.13.37" })
+ local ctx = InstallContextGenerator(handle, { version = "42.13.37" })
installer.exec_in_context(
ctx,
composer.packages { "main-package", "supporting-package", "supporting-package2" }