Module: Avm::Git::Issue::Complete::Test
- Defined in:
- lib/avm/git/issue/complete/test.rb
Instance Method Summary collapse
Instance Method Details
#test_result ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/avm/git/issue/complete/test.rb', line 8 def test_result infom 'Running tests...' test_performer.units.each do |single| return ::Avm::Result.error((single)) if single.failed? end ::Avm::Result.success('all passed') end |