interpreted_date 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/interpreted_date/version.rb +1 -1
- data/spec/interpreted_date_spec.rb +1 -1
- metadata +1 -1
@@ -129,7 +129,7 @@ describe InterpretedDate do
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
-
describe "<=>"
|
132
|
+
describe "<=>" do
|
133
133
|
|
134
134
|
it "correctly sorts with a decade" do
|
135
135
|
(InterpretedDate.new({:decade => 2010, :year => 2012, :month => 2, :day => 31}) <=> InterpretedDate.new({:decade => 2000 })).should == 1
|