summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/class_variable_get_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/class_variable_get_spec.rb')
-rw-r--r--spec/ruby/core/module/class_variable_get_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/class_variable_get_spec.rb b/spec/ruby/core/module/class_variable_get_spec.rb
index 79d22a506b..e5d06731ec 100644
--- a/spec/ruby/core/module/class_variable_get_spec.rb
+++ b/spec/ruby/core/module/class_variable_get_spec.rb
@@ -60,7 +60,7 @@ describe "Module#class_variable_get" do
-> { c.send(:class_variable_get, "@invalid_name") }.should raise_error(NameError)
end
- it "converts a non string/symbol/fixnum name to string using to_str" do
+ it "converts a non string/symbol name to string using to_str" do
c = Class.new { class_variable_set :@@class_var, "test" }
(o = mock('@@class_var')).should_receive(:to_str).and_return("@@class_var")
c.send(:class_variable_get, o).should == "test"