Class: Adva::Tasks::Test::Unit
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Adva::Tasks::Test::Unit
- Defined in:
- lib/adva/tasks/core.rb
Instance Method Summary collapse
Instance Method Details
#unit ⇒ Object
151 152 153 154 155 |
# File 'lib/adva/tasks/core.rb', line 151 def unit Rails.env = 'test' Dir[pattern].each { |file| require file } exit($1.exitstatus) if $1.exited? && $1.exitstatus != 0 end |