test/test_pyro.rb in pyro-0.9.0 vs test/test_pyro.rb in pyro-1.0.0.rc1

- old
+ new

@@ -1,21 +1,21 @@ class TestPyro < Minitest::Test - def test_build - Pyro.build('development', false, './templates/app') + def test_burn + Pyro.burn('development', false, './templates/app') assert Dir.exists?('./templates/app/tmp') - - Pyro.build('production', false, './templates/app') + + Pyro.burn('production', false, './templates/app') assert Dir.exists?('./templates/app/pkg') - + 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 + Pyro.burn end end end