summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/append_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/array/append_spec.rb')
-rw-r--r--spec/ruby/core/array/append_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/array/append_spec.rb b/spec/ruby/core/array/append_spec.rb
index 302dc4a901..61b3efe70d 100644
--- a/spec/ruby/core/array/append_spec.rb
+++ b/spec/ruby/core/array/append_spec.rb
@@ -30,8 +30,8 @@ describe "Array#<<" do
a.should == [:foo]
end
- it "raises a #{frozen_error_class} on a frozen array" do
- -> { ArraySpecs.frozen_array << 5 }.should raise_error(frozen_error_class)
+ it "raises a FrozenError on a frozen array" do
+ -> { ArraySpecs.frozen_array << 5 }.should raise_error(FrozenError)
end
end