summaryrefslogtreecommitdiff
path: root/spec/ruby/library/openstruct/method_missing_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-10 08:59:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-10 09:00:25 +0900
commita85ed43294700ed0dd11d22b5c3d5d37d2b1809c (patch)
treeadd5ddb14c8424835d276e44d4012415b2d3fd69 /spec/ruby/library/openstruct/method_missing_spec.rb
parentc4d49749fbbb922f6102d3bf0729c861f9436a00 (diff)
Do not access the internal member
Diffstat (limited to 'spec/ruby/library/openstruct/method_missing_spec.rb')
-rw-r--r--spec/ruby/library/openstruct/method_missing_spec.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/ruby/library/openstruct/method_missing_spec.rb b/spec/ruby/library/openstruct/method_missing_spec.rb
index fe955791af..5f85b2e513 100644
--- a/spec/ruby/library/openstruct/method_missing_spec.rb
+++ b/spec/ruby/library/openstruct/method_missing_spec.rb
@@ -24,11 +24,6 @@ describe "OpenStruct#method_missing when called with a method name ending in '='
@os.test = "changed"
@os.test.should == "changed"
end
-
- it "updates the method/value table with the passed method/value" do
- @os.method_missing(:test=, "test")
- @os.send(:table)[:test].should == "test"
- end
end
describe "OpenStruct#method_missing when passed additional arguments" do