Ignore:
Timestamp:
Sep 7, 2009, 12:07:59 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

move DvAmount, DvCount test to spec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/quantity/dv_ordered_spec.rb

    r243 r248  
    4949  end
    5050
    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
    5553  end
    5654
Note: See TracChangeset for help on using the changeset viewer.