Sha256: e3b872184089d27b756422c26e06efdae727134a99980e0b3bee91867391481e

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Darthjee::CoreExt::Hash::ToHashMapper do
  it_behaves_like 'a hash with map_to_hash method' do
    subject { described_class.new(hash) }

    let(:mapped) { subject.map(&mapping_block) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
darthjee-core_ext-1.7.4 spec/lib/darthjee/core_ext/hash/to_hash_mapper_spec.rb