Sha256: 328b8a4c1fa73b2f3fded71c2eec1d4c88de653d7955e3c68d498be6dccd2175

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

require 'capybara'
require 'capybara/dsl'

Capybara.app = Rack::Builder.new do
  map "/" do
    use Rails::Rack::Static
    run ActionController::Dispatcher.new
  end
end.to_app

Capybara.asset_root = Rails.root.join('public')

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
bjeanes-capybara-0.3.2 lib/capybara/rails.rb
bjeanes-capybara-0.3.1 lib/capybara/rails.rb
capybara-0.3.0 lib/capybara/rails.rb