Sha256: e7d8467880eb67604e0a0efeac9311acc45a1c36f1b08cf18b318b57287cac8a
Contents?: true
Size: 510 Bytes
Versions: 30
Compression:
Stored size: 510 Bytes
Contents
require 'spec_helper' describe Picky::Wrappers::Bundle::Wrapper do before(:each) do @bundle = double :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
30 entries across 30 versions & 1 rubygems