Sha256: d58e7be1a6d22ae5598e1f8fa859c1d71cca7772eea84e0aba7f26ca9dacb3c2

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

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

dir = File.dirname(__FILE__)
LIBRARY_ROOT_DIR = File.expand_path("#{dir}/../..")
$LOAD_PATH.unshift File.expand_path("#{LIBRARY_ROOT_DIR}/lib")
require "js_test_server"
require "nokogiri"
require "guid"
require "thin"
require "js_test_server"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/be_http"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/wait_for"
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"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/fake_deferrable"
require "#{LIBRARY_ROOT_DIR}/spec/spec_helpers/mock_session"

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
JsTestServer::Server::App.set :raise_errors, true
JsTestServer::Server::App.set :show_exceptions, false

Sinatra::Application.use(JsTestServer::Server::App)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
honkster-js-test-server-0.2.12 spec/unit/unit_spec_helper.rb
honkster-js-test-server-0.2.11 spec/unit/unit_spec_helper.rb
honkster-js-test-server-0.2.10 spec/unit/unit_spec_helper.rb
honkster-js-test-server-0.2.9 spec/unit/unit_spec_helper.rb
js-test-server-0.2.8 spec/unit/unit_spec_helper.rb
js-test-server-0.2.7 spec/unit/unit_spec_helper.rb
js-test-server-0.2.6 spec/unit/unit_spec_helper.rb
js-test-server-0.2.1 spec/unit/unit_spec_helper.rb
js-test-server-0.2.0 spec/unit/unit_spec_helper.rb