Sha256: 0ec119c40e3171e6841df962c6ed3a9d731af39573c42a801d165f2e3ceeb7ad

Contents?: true

Size: 683 Bytes

Versions: 1

Compression:

Stored size: 683 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"
require "#{dir}/screw_unit/thin_runner"

JsTestCore.core_path = File.expand_path("#{dir}/../core/lib")
JsTestCore::Resources::SpecFile.spec_representation_class = ScrewUnit::Representations::Spec
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

1 entries across 1 versions & 1 rubygems

Version Path
pivotal-screw-unit-server-0.5.4 lib/screw_unit.rb