Skip to content

error undefined method `output=' when running test #12

@worrawutp

Description

@worrawutp

I require 'minitest/colorize' in my test file and run it with rake and I got following error message.
Note that I use minitest 5.4.2 and minitest-colorize 0.0.5

rake spec
C:/Ruby200/lib/ruby/gems/2.0.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:88:in <top (required)>': undefined methodoutput=' for Minitest::Unit:Class (NoMethodError)
rake aborted!
...
Command failed with status (1): [ruby -I"lib" -I"C:/Ruby200/lib/ruby/gems/2.0.0/gems/rake-10.3.2/lib" "C:/Ruby200/lib/ru
by/gems/2.0.0/gems/rake-10.3.2/lib/rake/rake_test_loader.rb" "spec/*_spec.rb" ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions