test/test_job_dir.rb in osc-machete-1.2.2 vs test/test_job_dir.rb in osc-machete-2.0.0.pre1
- old
+ new
@@ -32,8 +32,8 @@
FileUtils.touch("#{@parent}/8")
# Create unique directory
new_jobdir = OSC::Machete::JobDir.new(@parent).new_jobdir
Dir.mkdir(new_jobdir)
- assert Dir.exist?("#{@parent}/9"), "Directory was not created: #{@parent}/9"
+ assert Dir.exists?("#{@parent}/9"), "Directory was not created: #{@parent}/9"
end
end