module JsSpec
module Resources
class SpecRunner
def get(request, response)
guid = (request && request['guid']) || 'null';
html = <<-HTML
JSSpec results
HTML
spec_files.each do |file|
html << %{\n}
end
html << <<-HTML
HTML
response.body = html.gsub(/^ /, "")
end
end
end
end