spec/parsi-date/comp_spec.rb in parsi-date-0.2.6 vs spec/parsi-date/comp_spec.rb in parsi-date-0.3.0
- old
+ new
@@ -1,6 +1,5 @@
-require File.expand_path('../../spec_helper', __FILE__)
require 'date'
describe "Parsi::Date#<=>" do
it "returns 0 when two dates are equal" do
(Parsi::Date.civil(1391, 4, 6) <=> Parsi::Date.civil(1391, 4, 6)).should == 0
@@ -26,6 +25,6 @@
end
it "returns 1 when self is greater than a Numeric" do
(Parsi::Date.civil(1391, 4, 6) <=> Rational(4912208,2)).should == 1
end
-end
\ No newline at end of file
+end