Exception: Thoreau::TestCasesAtMultipleLevelsError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/thoreau/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ TestCasesAtMultipleLevelsError

Returns a new instance of TestCasesAtMultipleLevelsError.



3
4
5
# File 'lib/thoreau/errors.rb', line 3

def initialize(msg = nil)
  super "Test cases must be specified either at the top level or inside test_cases blocks, but not both!"
end