Sha256: d52a627c72a6576a4ce309b31b6268a89a02a096015d7826b2b4d93a8f72b84f

Contents?: true

Size: 643 Bytes

Versions: 8

Compression:

Stored size: 643 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"

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

8 entries across 8 versions & 4 rubygems

Version Path
pivotal-screw-unit-0.5.0 lib/screw_unit.rb
pivotal-screw-unit-0.5.1 lib/screw_unit.rb
pivotal-screw-unit-0.5.2 lib/screw_unit.rb
pivotal-screw-unit-0.5.3 lib/screw_unit.rb
pivotal-screw-unit-server-0.5.3 lib/screw_unit.rb
screw-unit-0.5.1 lib/screw_unit.rb
screw-unit-server-0.5.3 lib/screw_unit.rb
screw-unit-0.5.2 lib/screw_unit.rb