Exception: Teaspoon::CoverageResultsNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/teaspoon/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ CoverageResultsNotFoundError

Returns a new instance of CoverageResultsNotFoundError.



156
157
158
159
# File 'lib/teaspoon/exceptions.rb', line 156

def initialize(msg = nil)
  msg ||= "You requested coverage reports, but no results were found. Are all files being ignored in your coverage config? If you have expand_assets set to false, you will need to remove spec_helper from the ignore list."
  super(msg)
end