Changeset 339 for ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_list_spec.rb
- Timestamp:
- Nov 10, 2009, 9:46:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_list_spec.rb
r220 r339 36 36 end 37 37 38 it ' retrievethe item with a name' do38 it 'should return the item with a name' do 39 39 @item_list.named_item('one').name.value.should == 'one' 40 end 41 42 it 'should return nil when item is not exist' do 43 @item_list.named_item('four').should be_nil 40 44 end 41 45
Note:
See TracChangeset
for help on using the changeset viewer.