blob: 6c1ddf1448edb35a04d677bc9589e05101daf3bf (
plain) (
tree)
|
|
require 'system_test_case'
module SystemTesting
class Railtie < Rails::Railtie
config.system_testing = ActiveSupport::OrderedOptions.new
initializer "system_testing.set_configs" do |app|
options = app.config.system_testing
options.driver ||= Rails::SystemTestCase.default_driver
ActiveSupport.on_load(:system_testing) do
options.each { |k,v| send("#{k}=", v) }
end
end
end
end
|