Skip to content

Commit 356ead2

Browse files
committed
Fix description of autoload spec
1 parent 01644d3 commit 356ead2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ruby/core/kernel/autoload_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def check_autoload(const)
5757
end
5858

5959
describe "when Object is frozen" do
60-
it "raises a FrozenError before defining the constant" do
60+
it "raises a #{frozen_error_class} before defining the constant" do
6161
ruby_exe(fixture(__FILE__, "autoload_frozen.rb")).should == "#{frozen_error_class} - nil"
6262
end
6363
end

0 commit comments

Comments
 (0)