lib/screw_unit.rb in pivotal-screw-unit-server-0.5.9 vs lib/screw_unit.rb in pivotal-screw-unit-server-0.5.10
- old
+ new
@@ -2,14 +2,14 @@
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"
+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)