test/test_epubmaker_cmd.rb in review-3.2.0 vs test/test_epubmaker_cmd.rb in review-4.0.0
- old
+ new
@@ -14,11 +14,11 @@
@old_rubylib = ENV['RUBYLIB']
ENV['RUBYLIB'] = File.expand_path('../lib', File.dirname(__FILE__))
end
def teardown
- FileUtils.rm_rf @tmpdir1
- FileUtils.rm_rf @tmpdir2
+ FileUtils.rm_rf(@tmpdir1)
+ FileUtils.rm_rf(@tmpdir2)
ENV['RUBYLIB'] = @old_rubylib
end
def test_epubmaker_cmd
if /mswin|mingw|cygwin/ !~ RUBY_PLATFORM