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!
Written by Павел Калашников
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#