зеркало из https://github.com/github/ruby.git
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:
Родитель
d4eae546c8
Коммит
cedc12ce9c
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче