spec/ms/sequest/srf/pepxml_spec.rb in ms-sequest-0.1.2 vs spec/ms/sequest/srf/pepxml_spec.rb in ms-sequest-0.2.1

- old
+ new

@@ -1,19 +1,19 @@ require 'spec_helper' require 'ms/sequest/srf/pepxml' -describe 'an Ms::Ident::Pepxml object from an srf file with modifications' do +describe 'an MS::Ident::Pepxml object from an srf file with modifications' do before do FileUtils.mkdir @out_path unless File.exist?(@out_path) end after do FileUtils.rm_rf @out_path end @srf_file = SEQUEST_DIR + '/opd1_2runs_2mods/sequest331/020.srf' @out_path = TESTFILES + '/tmp' - @srf = Ms::Sequest::Srf.new(@srf_file) + @srf = MS::Sequest::Srf.new(@srf_file) it 'produces xml with all the expected parts' do tags = %w(msms_pipeline_analysis msms_run_summary sample_enzyme specificity search_summary search_database enzymatic_search_constraint aminoacid_modification parameter spectrum_query search_result search_hit modification_info mod_aminoacid_mass search_score) pepxml = @srf.to_pepxml(:verbose => false) xml_string = pepxml.to_xml