diff options
author | roboo <robo.karasek@gmail.com> | 2017-07-06 22:14:15 +0200 |
---|---|---|
committer | roboo <robo.karasek@gmail.com> | 2017-07-06 22:14:15 +0200 |
commit | efa3795d8ee4aefc03cf4c5fbad3d2a2c727efea (patch) | |
tree | d3cbdd61420fa3b1422b489f06088cf31f8fc533 /spec | |
parent | 6ff21657f937d74ecb69947989ad54f6ea62198b (diff) | |
download | luarocks-efa3795d8ee4aefc03cf4c5fbad3d2a2c727efea.tar.gz luarocks-efa3795d8ee4aefc03cf4c5fbad3d2a2c727efea.tar.bz2 luarocks-efa3795d8ee4aefc03cf4c5fbad3d2a2c727efea.zip |
Change setup/teardown in make tests to before/after due to wrong use
Diffstat (limited to 'spec')
-rw-r--r-- | spec/make_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/make_spec.lua b/spec/make_spec.lua index 04ffaf53..ab2d49a3 100644 --- a/spec/make_spec.lua +++ b/spec/make_spec.lua | |||
@@ -101,11 +101,11 @@ describe("LuaRocks make tests #blackbox #b_make", function() | |||
101 | end) | 101 | end) |
102 | 102 | ||
103 | describe("LuaRocks make upgrading rockspecs with mixed deploy types", function() | 103 | describe("LuaRocks make upgrading rockspecs with mixed deploy types", function() |
104 | setup(function() | 104 | before_each(function() |
105 | test_env.copy_dir(testing_paths.testing_dir .. "/testfiles/mixed_deploy_type", "mdt") | 105 | test_env.copy_dir(testing_paths.testing_dir .. "/testfiles/mixed_deploy_type", "mdt") |
106 | end) | 106 | end) |
107 | 107 | ||
108 | teardown(function() | 108 | after_each(function() |
109 | test_env.remove_dir("mdt") | 109 | test_env.remove_dir("mdt") |
110 | os.remove("mdt."..test_env.lib_extension) | 110 | os.remove("mdt."..test_env.lib_extension) |
111 | end) | 111 | end) |