We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01644d3 commit 356ead2Copy full SHA for 356ead2
spec/ruby/core/kernel/autoload_spec.rb
@@ -57,7 +57,7 @@ def check_autoload(const)
57
end
58
59
describe "when Object is frozen" do
60
- it "raises a FrozenError before defining the constant" do
+ it "raises a #{frozen_error_class} before defining the constant" do
61
ruby_exe(fixture(__FILE__, "autoload_frozen.rb")).should == "#{frozen_error_class} - nil"
62
63
0 commit comments