Ignore:
Timestamp:
Apr 13, 2010, 12:01:17 AM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

serialize attribute

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/spec/lib/open_ehr/serializer/adl_serializer_spec.rb

    r408 r409  
    1414    @sample_header = adl[0..7].join
    1515    @sample_description = adl[9..22].join
     16    @sample_definition = adl[24..25].join
    1617    adl_file.close
    1718  end
     
    3233    @adl_serializer.description.should == @sample_description
    3334  end
     35
     36  it 'definition should return ADL formatted definition' do
     37    @adl_serializer.definition.should == @sample_definition
     38  end
    3439end
Note: See TracChangeset for help on using the changeset viewer.