Exception: Spork::TestFramework::FrameworkNotAvailable

Inherits:
FactoryException show all
Defined in:
lib/spork/test_framework.rb

Instance Method Summary collapse

Constructor Details

#initialize(framework) ⇒ FrameworkNotAvailable

Returns a new instance of FrameworkNotAvailable.



17
18
19
# File 'lib/spork/test_framework.rb', line 17

def initialize(framework)
  @framework = framework
end

Instance Method Details

#messageObject



21
22
23
# File 'lib/spork/test_framework.rb', line 21

def message
  "I can\'t find the file #{@framework.helper_file} for the #{@framework.short_name} testing framework.\nAre you running me from the project directory?"
end