Refactor: Extract `test_method` method
Refactor: Extract `test_method` method

Extract a method to create the test method definition.

Insti/exercism-ruby,Insti/xruby,exercism/xruby,Insti/xruby,Insti/exercism-ruby,NeimadTL/ruby,exercism/xruby,NeimadTL/ruby,NeimadTL/ruby,Insti/exercism-ruby