From a34db218ade33b79e7404488db5a15bad2841c25 Mon Sep 17 00:00:00 2001 From: eregon Date: Wed, 27 Dec 2017 16:12:47 +0000 Subject: Update to ruby/spec@0fe33ac git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- spec/ruby/core/kernel/untaint_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/ruby/core/kernel/untaint_spec.rb') diff --git a/spec/ruby/core/kernel/untaint_spec.rb b/spec/ruby/core/kernel/untaint_spec.rb index 5abe5d63fc..d54714cee4 100644 --- a/spec/ruby/core/kernel/untaint_spec.rb +++ b/spec/ruby/core/kernel/untaint_spec.rb @@ -13,9 +13,9 @@ describe "Kernel#untaint" do o.tainted?.should == false end - it "raises RuntimeError on a tainted, frozen object" do + it "raises #{frozen_error_class} on a tainted, frozen object" do o = Object.new.taint.freeze - lambda { o.untaint }.should raise_error(RuntimeError) + lambda { o.untaint }.should raise_error(frozen_error_class) end it "does not raise an error on an untainted, frozen object" do -- cgit v1.2.3