Sha256: dc71c04c3a5bdcdd02e132ff6800d11a3c623b511fbfc4fc95e6db27ad25abe1

Contents?: true

Size: 384 Bytes

Versions: 47

Compression:

Stored size: 384 Bytes

Contents

require 'test_helper'
require 'zip/ioextras'

class FakeIOTest < MiniTest::Test
  class FakeIOUsingClass
    include ::Zip::IOExtras::FakeIO
  end

  def test_kind_of?
    obj = FakeIOUsingClass.new

    assert(obj.kind_of?(Object))
    assert(obj.kind_of?(FakeIOUsingClass))
    assert(obj.kind_of?(IO))
    assert(!obj.kind_of?(Integer))
    assert(!obj.kind_of?(String))
  end
end

Version data entries

47 entries across 35 versions & 4 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.3/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/rubyzip-1.2.1/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.7.0/gems/rubyzip-1.3.0/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.6.2 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.6.1 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.6.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/ioextras/fake_io_test.rb
rubyzip-1.3.0 test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.4/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.5.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
rubyzip-1.2.4 test/ioextras/fake_io_test.rb
rubyzip-1.2.3 test/ioextras/fake_io_test.rb
tdiary-5.0.13 vendor/bundle/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
tdiary-5.0.12.1 vendor/bundle/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
tdiary-5.0.11 vendor/bundle/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb
tdiary-5.0.11 vendor/bundle/gems/rubyzip-1.2.1/test/ioextras/fake_io_test.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/rubyzip-1.2.2/test/ioextras/fake_io_test.rb