Sha256: 82ef01dcef5b15aaddcc29449dd57e9ac253cc2361ed3a3f934a458eb12b3019

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'capybara'
require 'capybara/dsl'

require 'database_cleaner'
require 'database_cleaner/cucumber'
DatabaseCleaner.strategy = :truncation

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

1 entries across 1 versions & 1 rubygems

Version Path
capybara-0.1.3 lib/capybara/rails.rb