Changeset 206 for ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_table_spec.rb
- Timestamp:
- Aug 15, 2009, 8:32:51 PM (15 years ago)
- 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 25 25 @item_table = ItemTable.new(:name => DvText.new('item table'), 26 26 :archetype_node_id => 'test', 27 :rows => [1,2])27 :rows => rows) 28 28 end 29 29 … … 35 35 @item_table.row_count.should be_equal 2 36 36 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 37 45 end
Note:
See TracChangeset
for help on using the changeset viewer.