Skip to content

Instantly share code, notes, and snippets.

@manuwell
Created October 30, 2015 18:10
Show Gist options
  • Save manuwell/1865e6ce8befe590a952 to your computer and use it in GitHub Desktop.
Save manuwell/1865e6ce8befe590a952 to your computer and use it in GitHub Desktop.
Capybara Rack Mount Point
require 'capybara/rails'
Capybara.app = Rack::Builder.new do
map "some_nested_url" do
run Rails.application
end
end.to_app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment