Changeset 248 for ruby/branches/0.5/spec/lib/open_ehr
- Timestamp:
- Sep 7, 2009, 12:07:59 PM (15 years ago)
- Location:
- ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/quantity
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/quantity/dv_ordered_spec.rb
r243 r248 49 49 end 50 50 51 it 'is_strictly_comparable_to should raise ArgumentError' do 52 lambda{ 53 @dv_ordered.is_strictly_comparable_to? 'test' 54 }.should raise_error(NotImplementedError) 51 it 'is_strictly_comparable_to should be true for DvOrdered' do 52 @dv_ordered.is_strictly_comparable_to?(DvOrdered.new).should be_true 55 53 end 56 54 -
ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/quantity/dv_ordinal_spec.rb
r246 r248 61 61 62 62 it 'is_strictly comparable should be false with other instance' do 63 @dv_ordinal.is_strictly_comparable_to?( stub).should be_false63 @dv_ordinal.is_strictly_comparable_to?('dummy').should be_false 64 64 end 65 65
Note:
See TracChangeset
for help on using the changeset viewer.