Class: RakeCheck::Checker::Konacha
- Defined in:
- lib/rake_check/checker/konacha.rb
Overview
Konacha Checker checks for konacha Errors in you Javascripttests
Instance Attribute Summary
Attributes inherited from Base
#check_output, #options, #time
Instance Method Summary collapse
Methods inherited from Base
#initialize, #status, #success?, #type
Constructor Details
This class inherits a constructor from RakeCheck::Checker::Base
Instance Method Details
#run ⇒ Object
7 8 9 |
# File 'lib/rake_check/checker/konacha.rb', line 7 def run run_command({'RAILS_ENV' => 'test'}, 'rake konacha:run') end |
#short_message ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/rake_check/checker/konacha.rb', line 11 def @short_message ||= begin summary = check_output[/\d+ examples, \d+ failed, \d+ pending/, 0] if summary "with " + summary end end end |