Sha256: 4bffc95e47279f6c7c5123feeb36093224a0c0932d0127fc7e9dbce14546d220
Contents?: true
Size: 400 Bytes
Versions: 28
Compression:
Stored size: 400 Bytes
Contents
require "spec_helper" describe Praxis::Types::FuzzyHash do let(:initial_value) {{ 'key' => 'value', /bob/ => 'rob', /\d+/ => 'one' }} 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
28 entries across 28 versions & 1 rubygems