Sha256: 28250b971c36d8c1300bc08b137b819c3a8b95f49e6dc72b72d2ae81ede7833e
Contents?: true
Size: 389 Bytes
Versions: 6
Compression:
Stored size: 389 Bytes
Contents
require 'spec_helper' require 'fin/shared_examples.rb' describe Fin::IndexedList do subject { Fin::IndexedList.new } let(:item_index) { @item.object_id } before(:each) do @item = Object.new @item1 = Object.new @item2 = Object.new end it_behaves_like 'index_list' it 'checks all items as worthy, by default' do subject.check(@item).should == true end end
Version data entries
6 entries across 6 versions & 1 rubygems