Sha256: a62d7ec87839ca55b1a1e80a0303655775a2a6e124c711a37ce5ffbe666d6658

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 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

4 entries across 4 versions & 1 rubygems

Version Path
darthjee-core_ext-1.7.3 spec/lib/darthjee/core_ext/hash/to_hash_mapper_spec.rb
darthjee-core_ext-1.7.2 spec/lib/darthjee/core_ext/hash/to_hash_mapper_spec.rb
darthjee-core_ext-1.7.1 spec/lib/darthjee/core_ext/hash/to_hash_mapper_spec.rb
darthjee-core_ext-1.7.0 spec/lib/darthjee/core_ext/hash/to_hash_mapper_spec.rb