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:
parent
d4eae546c8
commit
cedc12ce9c
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue