Sha256: 2a1a63f997586d9fcc21397d860da3d6c16bb37aeca7455274ae768b31fbf1f9
Contents?: true
Size: 541 Bytes
Versions: 22
Compression:
Stored size: 541 Bytes
Contents
require 'spec_helper' describe Picky::Indexed::Wrappers::Bundle::Wrapper do before(:each) do @bundle = stub :bundle @calculation = described_class.new @bundle end describe 'ids' do it 'calls bundle#ids correctly' do @bundle.should_receive(:ids).once.with :some_sym @calculation.ids :some_sym end end describe 'weight' do it 'calls bundle#ids correctly' do @bundle.should_receive(:weight).once.with :some_sym @calculation.weight :some_sym end end end
Version data entries
22 entries across 22 versions & 1 rubygems