Sha256: 5c5c36fbed14447008d8ffc030082b32efcd57d06b37956a9bbf4fee30c5b56d
Contents?: true
Size: 296 Bytes
Versions: 25
Compression:
Stored size: 296 Bytes
Contents
shared_examples_for 'an #each method' do it_should_behave_like 'a command method' context 'with no block' do subject { object.each } it { should be_instance_of(to_enum.class) } it 'yields the expected values' do expect(subject.to_a).to eql(object.to_a) end end end
Version data entries
25 entries across 25 versions & 2 rubygems