Sha256: f3b1176df80e995031f6658336bab747d1f6a973db17a3b1a9f958a97eb48a7e
Contents?: true
Size: 446 Bytes
Versions: 23
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Praxis::Types::FuzzyHash do let(:initial_value) do { 'key' => 'value', /bob/ => 'rob', /\d+/ => 'one' } end subject(:hash) { Praxis::Types::FuzzyHash.new(initial_value) } its(['key']) { should eq 'value' } its([/bob/]) { should eq 'rob' } its(['bobby']) { should eq 'rob' } its([1]) { should eq 'one' } its(['1']) { should eq 'one' } end
Version data entries
23 entries across 23 versions & 1 rubygems