test/rbbt/workflow/util/test_archive.rb in rbbt-util-5.42.0 vs test/rbbt/workflow/util/test_archive.rb in rbbt-util-5.43.0
- old
+ new
@@ -14,18 +14,14 @@
class TestClass < Test::Unit::TestCase
def test_migrate
job = ArchiveTestWF.job(:test_archive)
job.run
- Log.with_severity 0 do
- TmpFile.with_file do |tmpdir|
- Misc.in_dir tmpdir do
- Step.migrate(job.path, :current, :delete => false, :print => false)
- end
- assert_equal "TEST", Open.read(File.join(tmpdir, 'var/jobs/ArchiveTestWF/test_archive/Default'))
+ TmpFile.with_file do |tmpdir|
+ Misc.in_dir tmpdir do
+ Step.migrate(job.path, :current, :delete => false, :print => false)
end
+ assert_equal "TEST", Open.read(File.join(tmpdir, 'var/jobs/ArchiveTestWF/test_archive/Default'))
end
-
-
end
end