Sha256: 5dfabf522966d2ba2bd86cfddbc86bbf1c8bb23b228f75edfe39b900e57ea328

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 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

5 entries across 5 versions & 1 rubygems

Version Path
capybara-0.2.0 lib/capybara/rails.rb
capybara-0.1.4 lib/capybara/rails.rb
capybara-0.1.2 lib/capybara/rails.rb
capybara-0.1.1 lib/capybara/rails.rb
capybara-0.1 lib/capybara/rails.rb