Skip to content

Instantly share code, notes, and snippets.

@nolman
Created April 26, 2013 04:32
Show Gist options
  • Save nolman/5465050 to your computer and use it in GitHub Desktop.
Save nolman/5465050 to your computer and use it in GitHub Desktop.
source :rubygems
# bundle && bundle exec rspec web_spec.rb # will not hang
#gem "goliath", :git => "[email protected]:postrank-labs/goliath.git", :ref => "a8e3cbb87602ea2ec39fc350842d42bece14df68"
# bundle && bundle exec rspec web_spec.rb will hang
gem "goliath", :git => "[email protected]:postrank-labs/goliath.git", :ref => "671be754e5ee63a3c1bc230d02c781fab7d3935b"
gem "em-http-request"
group :test do
gem "rspec"
end
require 'rubygems'
require 'bundler'
Bundler.setup
require 'goliath'
class Web < Goliath::API
def response(env)
[200, {}, ""]
end
end
require 'rspec'
require './web'
require 'goliath/test_helper'
describe Web do
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment