Sha256: 6a4a7229e9c32f1e047e1725356cd04b29c7da1d799b101a2c82920ed65cb2df

Contents?: true

Size: 923 Bytes

Versions: 4

Compression:

Stored size: 923 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 "thin"
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 & 2 rubygems

Version Path
honkster-screw-unit-server-0.6.3 vendor/js-test-core/spec/unit/unit_spec_helper.rb
honkster-screw-unit-server-0.6.2 vendor/js-test-core/spec/unit/unit_spec_helper.rb
honkster-screw-unit-server-0.6.1 vendor/js-test-core/spec/unit/unit_spec_helper.rb
btakita-screw-unit-server-0.6.0 vendor/js-test-core/spec/unit/unit_spec_helper.rb