I would like to know how to write unit tests for a module that is mixed into a couple of classes but don\'t quite know how to go about it:
Do I test the instanc
In minitest since each test is explicitly a class you can just include the module to the test and test the methods:
minitest
class MyModuleTest < Minitest::Test include MyModule def my_module_method_test # Assert my method works end end