test/test-uuid.rb in uuid-2.3.6 vs test/test-uuid.rb in uuid-2.3.7

- old
+ new

@@ -37,10 +37,10 @@ assert_equal path, UUID.state_file end def test_mode_is_set_on_state_file_specify UUID.class_eval{ @state_file = nil; @mode = nil } - path = File.join("/tmp", "ruby-uuid-test") + path = File.join(Dir.tmpdir, "ruby-uuid-test") File.delete path if File.exist?(path) UUID.state_file = path old_umask = File.umask(0022)