summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ostruct/test_ostruct.rb2
1 files changed, 1 insertions, 1 deletions
@@ -256,7 +256,7 @@ class TC_OpenStruct < Test::Unit::TestCase
os = c.new(foo: :bar)
assert_equal(:bar, os.foo)
end
-
def test_overridden_public_methods
os = OpenStruct.new(method: :foo, class: :bar)
assert_equal(:foo, os.method)