Sha256: a8157deb27a15a0f26362e2b099bb939eaec9b51a733a03c2a649ef541ba2ed2
Contents?: true
Size: 508 Bytes
Versions: 111
Compression:
Stored size: 508 Bytes
Contents
require 'spec_helper' describe Picky::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
111 entries across 111 versions & 1 rubygems