Sha256: 234503159895ceae5c3fee15bfcde88376db83b68083d8c32aa41b4b19a0a2d3
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Function::Predicate::Enumerable, '.compare_method' do subject { object.compare_method(enumerable) } let(:object) { self.class.described_class } context 'the enumerable is a Range' do let(:enumerable) { 1..2 } it { should == :cover? } end context 'the enumerable is an Array' do let(:enumerable) { [1, 2] } it { should == :include? } end end
Version data entries
2 entries across 2 versions & 1 rubygems