rake spec WARNING: edi4r-tdid not found. Only EDIFACT versions d96a and d01b will be supported! OpenILS::Mapper - should add both qualified and unqualified buyer/vendor fields - should properly chunk and add descriptive fields DE C273/7008: Illegal character: # - should create a message from high-level JEDI input (FAILED - 1) EDI::E::Mapper - should chunk text - should produce an empty purchase order when initialized - should add a single segment in tuple form - should properly apply defaults - should raise an exception if defaults don't look right - should properly fill in interchange envelope defaults - should add multiple elements in tuple form - should add a single element in array form - should add multiple elements in array form - should make use of custom mappings - should raise an exception when an unknown mapping is called - should raise an exception when re-registering a named mapping - should correctly unregister a mapping - should correctly generate a low-level JEDI hash from an EDIFACT message 1) 'OpenILS::Mapper should create a message from high-level JEDI input' FAILED expected: "UNH+1+ORDERS:D:96A:UN'BGM+220+2+9'DTM+137:20090331:102'NAD+BY+3472205::91'RFF+API:3472205 0001'NAD+BY+3472205::31B'RFF+API:3472205 0001'NAD+SU+1556150::31B'NAD+SU+1556150::91'RFF+IA:1865'CUX+2:USD:9'LIN+1++03-0010837:SA'PIA+5+03-0010837:SA'IMD+F+BTI+:::Discernment'IMD+F+BPU+:::Concord Records,'IMD+F+BPD+:::1986.'IMD+F+BPH+:::1 sound disc ?:'QTY+21:2'PRI+AAB:35.95'RFF+LI:2/1'LIN+2++03-0010840:SA'PIA+5+03-0010840:SA'IMD+F+BTI+:::The inner source'IMD+F+BAU+:::Duke, George, 1946-'IMD+F+BPU+:::MPS Records,'IMD+F+BPD+:::1973.'IMD+F+BPH+:::2 sound discs ?:'QTY+21:1'PRI+AAB:28.95'RFF+LI:2/2'UNS+S'CNT+2:2'UNT+33+1'", got: "UNH+1+ORDERS:D:96A:UN'BGM+220+2+9'DTM+137:20090331:102'NAD+BY+3472205::91'RFF+API:3472205 0001'NAD+BY+3472205::31B'RFF+API:3472205 0001'NAD+SU+1556150::31B'NAD+SU+1556150::91'RFF+IA:1865'CUX+2:USD:9'LIN+1++03-0010837:SA'PIA+5+03-0010837:SA'IMD+F+BTI+:::Discernment'IMD+F+BPU+:::Concord Records,'IMD+F+BPD+:::1986.'IMD+F+BPH+:::1 sound disc ?:'QTY+21:2'PRI+AAB:35.95'RFF+LI:2/1'LIN+2++03-0010840:SA'PIA+5+03-0010840:SA'IMD+F+BTI+:::The inner # source'IMD+F+BAU+:::Duke, George, 1946-'IMD+F+BPU+:::MPS Records,'IMD+F+BPD+:::1973.'IMD+F+BPH+:::2 sound discs ?:'QTY+21:1'PRI+AAB:28.95'RFF+LI:2/2'UNS+S'CNT+2:2'UNT+33+1'" (using ==) ./test/openils_map_spec.rb:37: Finished in 0.297242 seconds 17 examples, 1 failure rake aborted! Command /usr/bin/ruby -I ./lib -r rubygems -I"lib" -S rcov --exclude json,edi4r,rcov,lib/spec,bin/spec,builder,active_ -o "coverage" "/usr/lib/ruby/gems/1.8/gems/rspec-1.3.1/bin/spec" -- "test/openils_map_spec.rb" "test/map_spec.rb" -c -f specdoc failed Tasks: TOP => spec (See full trace by running task with --trace)