Sha256: 0660d2a32c7a009ed32c0cec42e361cea950916e9d90f57077b8c58d47432de7

Contents?: true

Size: 730 Bytes

Versions: 3

Compression:

Stored size: 730 Bytes

Contents

require "rubygems"

dir = File.dirname(__FILE__)
$:.unshift(File.expand_path("#{dir}/../vendor/js-test-core/lib"))
require "js_test_core"

require "#{dir}/screw_unit/representations/spec.html"

JsTestCore.core_path = File.expand_path("#{dir}/../core/lib")
JsTestCore::Resources::SpecFile.spec_representation_class = ScrewUnit::Representations::Spec
JsTestCore::Server.rackup_path = File.expand_path("#{dir}/../standalone.ru")
module ScrewUnit
  include JsTestCore

  class << self
    def method_missing(method_name, *args, &block)
      if JsTestCore::Configuration.instance.respond_to?(method_name)
        JsTestCore::Configuration.instance.send(method_name, *args, &block)
      else
        super
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pivotal-screw-unit-server-0.5.10 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.11 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.12 lib/screw_unit.rb