spec/ms/mzml_spec.rb in mspire-0.6.19 vs spec/ms/mzml_spec.rb in mspire-0.6.20

- old
+ new

@@ -38,11 +38,13 @@ spectrum.should be_a(MS::Mzml::Spectrum) end it 'goes through spectrum with #each or #each_spectrum' do mz_sizes = [20168, 315, 634] + centroided = [false, true, true] @mzml.each do |spec| spec.mzs.size.should == mz_sizes.shift + spec.centroided?.should == centroided.shift end end it 'gets an enumerator if called without a block' do mz_sizes = [20168, 315, 634]