Merge pull request #38062 from jhawthorn/isolation_fixes

Fixes for isolation tests
This commit is contained in:
John Hawthorn 2019-12-21 15:50:58 -08:00 committed by GitHub
commit 0d798fedc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

@ -200,7 +200,7 @@ def widths(routes)
end
class Expanded < Base
def initialize(width: IO.console_size.second)
def initialize(width: IO.console_size[1])
@width = width
super()
end

@ -1,6 +1,7 @@
# frozen_string_literal: true
require "abstract_unit"
require "active_support/core_ext/array/access"
module BareMetalTest
class BareController < ActionController::Metal

@ -3,6 +3,9 @@
require "abstract_unit"
require "active_support/ordered_options"
require "action_dispatch"
ActionView::Template::Types.delegate_to Mime
class AssetTagHelperTest < ActionView::TestCase
tests ActionView::Helpers::AssetTagHelper