Class: Fuci::RSpec
Constant Summary collapse
- FAILURE_INDICATOR =
'Failed examples:'
- BASE_COMMAND =
'rspec --tty'
- FAIL_FILE_CAPTURE =
/rspec (.*) #/
Instance Method Summary collapse
Instance Method Details
#command(log) ⇒ Object
13 14 15 |
# File 'lib/fuci/rspec.rb', line 13 def command log @command ||= "#{base_command} #{failures log }" end |
#indicates_failure?(log) ⇒ Boolean
9 10 11 |
# File 'lib/fuci/rspec.rb', line 9 def indicates_failure? log log.include? FAILURE_INDICATOR end |