Last Updated: February 25, 2016
·
433
· kalashnikovisme

TConsole detect decorator's tests

TConsole doesn't detect test in test/decorators folder. This test are designed for draper decorators in app/decorators folder.

To detect decorators tests by TConsole, you should create file .tconsole in project root folder. This file contents:

TConsole::Config.run do |config|
  config.file_sets = {
    "all" => ["test/**/*_test.rb"]
  }
end

Good luck!