1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Explictly specify syck.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-06-14 00:48:19 +00:00
parent d4eae546c8
commit cedc12ce9c

View file

@ -1,14 +1,17 @@
require 'test/unit'
require 'syck'
require 'yaml/store'
module Syck
class YAMLStoreTest < Test::Unit::TestCase
def setup
require 'yaml/store'
@engine, YAML::ENGINE.yamler = YAML::ENGINE.yamler, 'syck'
@yamlstore_file = "yamlstore.tmp.#{Process.pid}"
@yamlstore = YAML::Store.new(@yamlstore_file)
end
def teardown
YAML::ENGINE.yamler = @engine
File.unlink(@yamlstore_file) rescue nil
end