Sha256: bd4dbcc9042780f7b340e3108f4e8b8c6482c7a271410246a4c8f3b2c9195914
Contents?: true
Size: 961 Bytes
Versions: 1
Compression:
Stored size: 961 Bytes
Contents
require File.expand_path('../boot', __FILE__) require 'rails/all' Bundler.require(*Rails.groups) require 'rvt' module Dummy class Application < Rails::Application # Automatically mount the console to tests the terminal side as well. config.rvt.automount = true if ENV['LONG_POLLING'] # You have to explicitly enable the concurrency, as in development mode, # the falsy config.cache_classes implies no concurrency support. # # The concurrency is enabled by removing the Rack::Lock middleware, which # wraps each request in a mutex, effectively making the request handling # synchronous. config.allow_concurrency = true # For long-polling 45 seconds timeout seems reasonable. config.rvt.timeout = 45.seconds end # The test order can be random after 4.1. config.active_support.test_order = :random config.active_record.sqlite3.represent_boolean_as_integer = true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rvt-1.1.0 | test/dummy/config/application.rb |