Skip to content

Commit

Permalink
Do not access the internal member
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed May 10, 2019
1 parent c4d4974 commit a85ed43
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec/ruby/library/openstruct/method_missing_spec.rb
Expand Up @@ -24,11 +24,6 @@
@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
Expand Down

0 comments on commit a85ed43

Please sign in to comment.