test/test_pyro.rb in pyro-0.8.2 vs test/test_pyro.rb in pyro-0.9.0

- old
+ new

@@ -1,15 +1,18 @@ class TestPyro < Minitest::Test def test_build - Pyro.build('development', false, './template') - assert Dir.exists?('./template/builds/development') + Pyro.build('development', false, './templates/app') + assert Dir.exists?('./templates/app/tmp') - Pyro.build('production', false, './template') - assert Dir.exists?('./template/builds/production') + Pyro.build('production', false, './templates/app') + assert Dir.exists?('./templates/app/pkg') - FileUtils.rm_rf('./template/builds') - refute Dir.exists?('./template/builds') + FileUtils.rm_rf('./templates/app/tmp') + refute Dir.exists?('./templates/app/tmp') + + FileUtils.rm_rf('./templates/app/pkg') + refute Dir.exists?('./templates/app/pkg') assert_raises RuntimeError do Pyro.build end end