Sha256: 90a5d0f3485a8ec7d537be62f67c3d7413b47e0357ec7987f0c69570cf2a2c60

Contents?: true

Size: 507 Bytes

Versions: 8

Compression:

Stored size: 507 Bytes

Contents

#$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')

require 'rubygems'
require 'bundler/setup'
require 'rspec'
require 'rack/test'

require File.join(File.dirname(__FILE__), '..', 'lib', 'sinatra', 'respond_to')
require File.join(File.dirname(__FILE__), 'app', 'test_app')
require File.join(File.dirname(__FILE__), 'app', 'production_error_app')

RSpec.configure do |config|
  def app
    @app ||= ::Rack::Builder.new do
      run ::TestApp
    end
  end

  config.include ::Rack::Test::Methods
end

Version data entries

8 entries across 8 versions & 4 rubygems

Version Path
sinatra-respond_to-0.8.0 spec/spec_helper.rb
ajsharp-sinatra-respond_to-0.8.0 spec/spec_helper.rb
ajsharp-sinatra-respond_to-0.7.1 spec/spec_helper.rb
sinatra-respond_to-0.7.0 spec/spec_helper.rb
tobias-sinatra-respond_to-0.6.0 spec/spec_helper.rb
theorician-sinatra-respond_to-0.6.0 spec/spec_helper.rb
sinatra-respond_to-0.6.0 spec/spec_helper.rb
sinatra-respond_to-0.5.0 spec/spec_helper.rb