Sha256: 57cbd3e08c0da1500c98efc9d42e56247f587936c3db059590eaf366868fc996
Contents?: true
Size: 464 Bytes
Versions: 4
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require 'dry/logic/predicates' RSpec.describe Dry::Logic::Predicates, '#eql?' do let(:predicate_name) { :eql? } context 'when value is equal to the arg' do let(:arguments_list) do [['Foo', 'Foo']] end it_behaves_like 'a passing predicate' end context 'with value is not equal to the arg' do let(:arguments_list) do [['Bar', 'Foo']] end it_behaves_like 'a failing predicate' end end
Version data entries
4 entries across 4 versions & 1 rubygems