diff options
Diffstat (limited to 'spec/write_rockspec_spec.lua')
-rw-r--r-- | spec/write_rockspec_spec.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/write_rockspec_spec.lua b/spec/write_rockspec_spec.lua index 5f9faa6e..abd5c80b 100644 --- a/spec/write_rockspec_spec.lua +++ b/spec/write_rockspec_spec.lua | |||
@@ -5,7 +5,7 @@ local run = test_env.run | |||
5 | 5 | ||
6 | describe("luarocks write_rockspec tests #integration", function() | 6 | describe("luarocks write_rockspec tests #integration", function() |
7 | 7 | ||
8 | before_each(function() | 8 | lazy_setup(function() |
9 | test_env.setup_specs() | 9 | test_env.setup_specs() |
10 | end) | 10 | end) |
11 | 11 | ||
@@ -20,7 +20,7 @@ describe("luarocks write_rockspec tests #integration", function() | |||
20 | describe("from #git #unix", function() | 20 | describe("from #git #unix", function() |
21 | local git | 21 | local git |
22 | 22 | ||
23 | setup(function() | 23 | lazy_setup(function() |
24 | git = git_repo.start() | 24 | git = git_repo.start() |
25 | end) | 25 | end) |
26 | 26 | ||
@@ -79,10 +79,11 @@ describe("luarocks write_rockspec tests #integration", function() | |||
79 | 79 | ||
80 | describe("from tarball #mock", function() | 80 | describe("from tarball #mock", function() |
81 | 81 | ||
82 | setup(function() | 82 | lazy_setup(function() |
83 | test_env.setup_specs(nil, "mock") | ||
83 | test_env.mock_server_init() | 84 | test_env.mock_server_init() |
84 | end) | 85 | end) |
85 | teardown(function() | 86 | lazy_teardown(function() |
86 | test_env.mock_server_done() | 87 | test_env.mock_server_done() |
87 | end) | 88 | end) |
88 | 89 | ||