Sha256: 4620bed80ddec5ba534cac051df0911c3302b752e5cbf7165e02b6af9263e390

Contents?: true

Size: 598 Bytes

Versions: 6

Compression:

Stored size: 598 Bytes

Contents

require 'bundler/setup'

require 'minitest/autorun'
# require 'pry-rescue/minitest'
require 'remote_table'

class MiniTest::Spec
  def setup
    if RUBY_VERSION >= '1.9'
      @old_default_internal = Encoding.default_internal
      @old_default_external = Encoding.default_external
      # totally random choices here
      Encoding.default_internal = 'EUC-JP'
      Encoding.default_external = 'Shift_JIS'
    end
  end
  
  def teardown
    if RUBY_VERSION >= '1.9'
      Encoding.default_internal = @old_default_internal
      Encoding.default_external = @old_default_external
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
remote_table-3.3.2 test/helper.rb
remote_table-3.3.0 test/helper.rb
remote_table-3.2.1 test/helper.rb
remote_table-3.2.0 test/helper.rb
remote_table-3.1.0 test/helper.rb
remote_table-3.0.0 test/helper.rb