Class: SC::Rack::TestRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/sproutcore/rack/test_runner.rb

Overview

Rewrites relevant requests to load the SproutCore test runner for a given project.

Instance Method Summary collapse

Constructor Details

#initialize(project) ⇒ TestRunner

Returns a new instance of TestRunner.



15
16
17
# File 'lib/sproutcore/rack/test_runner.rb', line 15

def initialize(project)
  @project = project
end

Instance Method Details

#call(env) ⇒ Object



19
20
21
# File 'lib/sproutcore/rack/test_runner.rb', line 19

def call(env)
  return [404, {}, "not found"]
end