spec/lib/indexed/wrappers/bundle/calculation_spec.rb in picky-3.5.0 vs spec/lib/indexed/wrappers/bundle/calculation_spec.rb in picky-3.5.1
- old
+ new
@@ -7,30 +7,30 @@
@calculation = described_class.new @bundle
end
describe 'ids' do
it 'calls bundle#ids correctly' do
- @bundle.should_receive(:ids).once.with :'0.0'
+ @bundle.should_receive(:ids).once.with '0.0'
- @calculation.ids :some_sym
+ @calculation.ids 'some_str'
end
it 'calls bundle#ids correctly' do
- @bundle.should_receive(:ids).once.with :'6.28'
+ @bundle.should_receive(:ids).once.with '6.28'
- @calculation.ids :'6.28'
+ @calculation.ids '6.28'
end
end
describe 'weight' do
it 'calls bundle#ids correctly' do
- @bundle.should_receive(:weight).once.with :'0.0'
+ @bundle.should_receive(:weight).once.with '0.0'
- @calculation.weight :some_sym
+ @calculation.weight 'some_str'
end
it 'calls bundle#ids correctly' do
- @bundle.should_receive(:weight).once.with :'6.28'
+ @bundle.should_receive(:weight).once.with '6.28'
- @calculation.weight :'6.28'
+ @calculation.weight '6.28'
end
end
end
\ No newline at end of file