Add spec for the visibility used by #define_method with a different default definee
Add spec for the visibility used by #define_method with a different default definee

* See https://github.com/oracle/truffleruby/issues/2334

ruby/spec,nobu/rubyspec,ruby/spec,nobu/rubyspec,ruby/spec,nobu/rubyspec