Sha256: 28c044aef1eb334553907ecf1f7726fd9edada7eac9004d486957faa33f01c07
Contents?: true
Size: 462 Bytes
Versions: 254
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/patches/hash/options_consumer' RSpec.describe ::Hash do let(:a_hash) { { a: 'a_value', b: 'b_value', c: 'c_value' } } let(:instance) { a_hash.to_options_consumer } it 'returns a OptionsConsumer' do expect(instance).to be_a(::EacRubyUtils::OptionsConsumer) end it do expect(instance.left_data).to eq({ a: 'a_value', b: 'b_value', c: 'c_value' } .with_indifferent_access) end end
Version data entries
254 entries across 254 versions & 3 rubygems