Skip to content

Instantly share code, notes, and snippets.

@johnmcaliley
Created May 6, 2011 15:36
Show Gist options
  • Save johnmcaliley/959181 to your computer and use it in GitHub Desktop.
Save johnmcaliley/959181 to your computer and use it in GitHub Desktop.
capybara config for facebook auth testing
Capybara.server_port = 3001
Capybara.app_host = "localhost:3001"
Capybara.server do |app, port|
require 'rack/handler/mongrel'
Rack::Handler::Mongrel.run(app, :Port => port)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment