Sha256: 274e0c94b9822e7ce939df52a43d585bc8c63ccbb316277a0b8febfb8e8b2976

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

require 'spec_helper'
require 'hexdump/core_ext'

describe "Hexdump core_ext" do
  it "should include Hexdump::Mixin into String" do
    expect(String).to include(Hexdump::Mixin)
  end

  it "should include Hexdump::Mixin into StringIO" do
    expect(StringIO).to include(Hexdump::Mixin)
  end

  it "should include Hexdump::Mixin into IO" do
    expect(IO).to include(Hexdump::Mixin)
  end

  it "should define File.hexdump" do
    expect(File).to respond_to(:hexdump)
  end

  it "should include Hexdump::ModuleMethods into ::Kernel" do
    expect(Kernel).to include(Hexdump::ModuleMethods)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hexdump-1.0.1 spec/core_ext_spec.rb