Sha256: cc914d30c5470047d4dbd781642f9becb01660ecf205890428898289c97e957d

Contents?: true

Size: 908 Bytes

Versions: 4

Compression:

Stored size: 908 Bytes

Contents

require "rubygems"
require "spec"
require "spec/autorun"
require "rack/test"
require "rr"
ARGV.push("-b")

dir = File.dirname(__FILE__)
LIBRARY_ROOT_DIR = File.expand_path("#{dir}/../..")
$LOAD_PATH.unshift File.expand_path("#{LIBRARY_ROOT_DIR}/lib")
require "js_test_core"
require "nokogiri"
require "guid"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/be_http"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/example_group"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/fake_selenium_driver"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/show_test_exceptions"

Spec::Runner.configure do |config|
  config.mock_with RR::Adapters::Rspec
end

Sinatra::Application.use ShowTestExceptions
Sinatra::Application.set :raise_errors, true
Sinatra::Application.set :show_exceptions, false
JsTestCore::App.set :raise_errors, true
JsTestCore::App.set :show_exceptions, false

Sinatra::Application.use(JsTestCore::App)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pivotal-screw-unit-server-0.5.10 vendor/js-test-core/spec/unit/unit_spec_helper.rb
pivotal-screw-unit-server-0.5.11 vendor/js-test-core/spec/unit/unit_spec_helper.rb
pivotal-screw-unit-server-0.5.12 vendor/js-test-core/spec/unit/unit_spec_helper.rb
pivotal-screw-unit-server-0.5.9 vendor/js-test-core/spec/unit/unit_spec_helper.rb