Changeset 206


Ignore:
Timestamp:
Aug 15, 2009, 8:32:51 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

refs #54

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_table_spec.rb

    r205 r206  
    2525    @item_table = ItemTable.new(:name => DvText.new('item table'),
    2626                                :archetype_node_id => 'test',
    27                                 :rows => [1,2])
     27                                :rows => rows)
    2828  end
    2929
     
    3535    @item_table.row_count.should be_equal 2
    3636  end
     37
     38  it 'column_count should be 3' do
     39    @item_table.column_count.should be_equal 3
     40  end
     41
     42  it 'row_names should be cluster cluster' do
     43    @item_table.row_names.should == %w{cluster cluster}.collect{|n| DvText.new(n)}
     44  end
    3745end
Note: See TracChangeset for help on using the changeset viewer.