diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 22:30:43 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-21 22:30:43 +0000 |
commit | b0837c440eef2199eb1ef58f92b18cf0b5910d01 (patch) | |
tree | 714c78ed8e65b5ceae8afbd0672a8cccf2301140 /test/rubygems | |
parent | 8de500cefca5e021f9fc792badddfddf48b1b409 (diff) | |
download | ruby-b0837c440eef2199eb1ef58f92b18cf0b5910d01.tar.gz |
Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index c0dfd4bafe..f346240692 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -39,6 +39,8 @@ end def setup super + @orig_yamler = YAML::ENGINE.yamler + YAML::ENGINE.yamler = 'psych' @a1 = quick_spec 'a', '1' do |s| s.executable = 'exec' @@ -65,6 +67,11 @@ end load 'rubygems/syck_hack.rb' end + def teardown + super + YAML::ENGINE.yamler = @orig_yamler + end + def test_self_attribute_names expected_value = %w[ authors |