Sha256: ba18858c01a09815a6f74034222082f4cbd3d8980c5c91364bbc579a2550b8a3

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'json'
require 'rack-geoip'
require 'spec'
require 'spec/autorun'
require 'rack/test'

Spec::Runner.configure do |config|
  config.include Rack::Test::Methods
end

class BasicRackApp
  def call(env)
    [200, {'Content-Type' => 'text/plain'}, 'Hello World']
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-geoip-0.1.2 spec/spec_helper.rb
rack-geoip-0.1.1 spec/spec_helper.rb