Sha256: 7a3d356fc95c5526401aaafa68a0ce2bee4e2582acc6ef9467e33cf3b64706c7

Contents?: true

Size: 678 Bytes

Versions: 5

Compression:

Stored size: 678 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/server"

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

5 entries across 5 versions & 1 rubygems

Version Path
pivotal-screw-unit-server-0.5.5 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.6 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.7 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.8 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.9 lib/screw_unit.rb