trumpify
trumpify copied to clipboard
Need a test for a non-existent method
might be possible to infini-loop, as is.
Can you include an example?
test "calls super's method_missing on non-existent method"
err = ->{ 'hairpiece'.make_america_great_again('') }.must_raise NoMethodError
err.message.must_match /undefined method `america/
end