Ignore:
Timestamp:
Apr 23, 2010, 12:00:31 AM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

fixed archetype ontology bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/spec/lib/open_ehr/am/archetype/ontology/archetype_term_spec.rb

    r403 r411  
    44describe ArchetypeTerm do
    55  before(:each) do
    6     items = Hash['TEXT', 'text']
     6    items = {'TEXT' => 'text', 'DESC' => 'description'}
    77    @archetype_term = ArchetypeTerm.new(:code => 'at0001',
    88                                        :items => items)
     
    3434
    3535  it 'keys should be a set of keys of item' do
    36     @archetype_term.keys.should == Set.new('TEXT')
     36    @archetype_term.keys.should == Set['TEXT', 'DESC']
    3737  end
    3838
Note: See TracChangeset for help on using the changeset viewer.