aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/module/attr_writer_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/module/attr_writer_spec.rb')
-rw-r--r--spec/ruby/core/module/attr_writer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/module/attr_writer_spec.rb b/spec/ruby/core/module/attr_writer_spec.rb
index 59d8b7bf53..056cfcf856 100644
--- a/spec/ruby/core/module/attr_writer_spec.rb
+++ b/spec/ruby/core/module/attr_writer_spec.rb
@@ -32,7 +32,7 @@ describe "Module#attr_writer" do
-> { true.spec_attr_writer = "a" }.should raise_error(RuntimeError)
end
- it "converts non string/symbol/fixnum names to strings using to_str" do
+ it "converts non string/symbol names to strings using to_str" do
(o = mock('test')).should_receive(:to_str).any_number_of_times.and_return("test")
c = Class.new do
attr_writer o